I noticed a strange behaviour of the RE when the End of Line symbol (EOL) presents in the text to be matched. The EOL kind of stops the search.
There will be no match in following sample text when searched with this RE sequence in UNIX style “Line1[^3]*3”.
However, the RE sequence, which specifies all EOL symbols explicitly, produces a match.
In my understanding the [^X] sequence should match any character except for ‘X’, which includes the “EOL” symbol.
I checked is with other text editor and it behaved nicely. I hope, it’s not a big deal to take care of this issue.
The existing regex engine doesn’t implement Posix or PERL-style regular expressions. You’re correct that the regex without the explicit EOL marker will not match across lines as you expect. The regex engine will be brought to PERL-standard in a future release.
For now, the workaround for such multi-line searches is a pattern such as
Create an alias for it called, say, <ml>. Then you can do searches like this:
which will work across lines.