Lookarounds don't work in RegExp

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
amirvf
Posts: 133
Joined: 18 Oct 2020 00:46

Lookarounds don't work in RegExp

Post by amirvf »

Very simple Regular Expressions which contain "Lookarounds" will result in Syntax Error.
I have tested it in "Find Files" section.

Some examples:
(?<=\d)cat
\w{3}(?<!mon)ster
(?<!\.en)(\.srt)$

Other Regular Expressions did not have issues so far.
To see the attached files, you need to log into the forum.
Last edited by amirvf on 27 Oct 2020 14:49, edited 1 time in total.

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Lookarounds don't work in RegExp

Post by highend »

The regex engine of VB6 doesn't support e.g. lookbehinds

Moved to Q&A
One of my scripts helped you out? Please donate via Paypal

amirvf
Posts: 133
Joined: 18 Oct 2020 00:46

Re: Lookarounds don't work in RegExp

Post by amirvf »

highend wrote: ↑27 Oct 2020 14:44 The regex engine of VB6 doesn't support e.g. lookbehinds

Moved to Q&A
Any plans to upgrade regex engine?
It has negative impacts on functionality.

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Lookarounds don't work in RegExp

Post by highend »

Afaik not planned
One of my scripts helped you out? Please donate via Paypal

Post Reply