This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

SyntaxEdit and regular expressions and lookaround support

A customer was asking about lookahead support when searching with regular expressions.

It seems that positive lookahead is supported as in q(?=u) to match a "q" that is followed by a "u".

However, negative lookahead as in q(?!u), positive lookbehind as in (?<=u)q, and negative lookbehind as in (?<!u)q are not supported and throw expression parsing errors.

Is this a limitation of the regular expression engine in SyntaxEdit? If so then can lookaround support be improved?


Thanks!

Comments

  • Most probably, this is quite hard to implement, and so, I can't promise it.
  • edited September 2017
    I think the easiest and most useful addition, since you already have positive lookahead, would be negative lookahead. So it would be nice if at least negative lookahead could be implemented. The others are not as important.

    Also, out of the recent issues I've reported, this is probably the least important yet the hardest to implement so I would like to see the other issues I reported have the highest priority.

    Thanks!
Sign In or Register to comment.