Regular expression error

SyntaxEditor for Windows Forms Forum

Posted 17 years ago by Russell Mason

If I use the regular expression (?s)(?i)SELECT.*MyTable on a FindReplace.FindAll using a SearchType of RegularExpression I get an exception 'Unknown regular expression advanced grouping construct'. This is on the (?s) and (?i) values.

Is this something you don't support? If not how can I get these options? I guess I can use MatchCase to ignore case (?i), but how do I include new lines in the . statement (?s)? and any other special (?xx) instruction for that matter?

Russell Mason

Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Russell,

Sorry we support almost all the constructs in the .NET regular expression syntax however don't support switching options within an expression.

For newlines, "(. | \n)" that will find "all" characters.

Actipro Software Support

The latest build of this product (v23.1.0) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.