I was trying to update some of the wiki on Regular Expressions and found some oddities -- Though first a question:
#1. What is the base for PN's Find/Replace RegEx? Boost::XPressive? Boost::Regex?
Now The RegEx seems to support Look ahead/behind well enough:
'(.*)(?=ton)' -- seems to work.
'(?<=Apple)(.*)' -- seems to work.
but the (?!...) and (?<!...) non-capture groups really seem to be buggy. They Work in some situations but seem to fall apart when combined with greedy quantifiers.
'(?<!H)(.*)' will still match 'Hello' and
'(?<!H)([elo]*)' does not seem to match anything. (For example Bello Xello etc).
'(.)(?!e)' works fine
'(.*)(?!e)' Matches every line... (sort of makes sense since this regex matches to end of line charaters...but even things like '(.*)(?!e$)' fail.
So I am looking for information on the RegEx library used so that I can get a feel for what should be updated in the Wiki.