This is on SciTE 5.5.8 on Windows 11 24H2 with find.replace.regexp.cpp11=1.
Regular expression first[\d\D]*second does not match the test string
first line
second line
I suppose it should work, since SciTE uses ECMAScript grammar (as per [1])? I tested it with [2], and it works. I want to use it as a workaround to simulate DOTALL mode.
[1] https://sourceforge.net/p/scintilla/code/ci/default/tree/src/Document.cxx#l3402
[2] https://regex101.com/r/DHihB3/1
From the comment in
MatchOnLines:You can experiment with multi-line regular expressions by defining
REGEX_MULTILINEwhen building.I understand. Please close the ticket.
It worked with w64devkit 2.4.0 [1], which ships gcc 15.2.0.
[1] https://github.com/skeeto/w64devkit