finding starting of line

SyntaxEditor for Windows Forms Forum

Posted 14 years ago by danielv
Avatar
How does one find the start of a line in a regex.
I have <Regex Value="^({WhitespaceMacro})*\*" Token="CommentStartToken">
but the hat symbol causes a stack overflow.

Comments (3)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Are you using version 1.0? It appears that's the XML syntax for a 1.0 language def. If so, 1.0 didn't support the start of line assertion however the current version does.


Actipro Software Support

Posted 14 years ago by danielv
Avatar
Thanks for your quick reply. Yes, I am using version 1.
Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Version 2.5 has a lot of really great improvements over 1.0. Check it out.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 7 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.