Code: Select all
Msgbox % RegExMatch( " abc`n def", " abc`a def", matchObj )
The docs stated that
How do I use this feature?`a
In v1.0.46.06+, `a recognizes any type of newline, namely `r, `n, `r`n, `v/VT/vertical tab/chr(0xB), `f/FF/formfeed/chr(0xC), and NEL/next-line/chr(0x85). In v1.0.47.05+, newlines can be restricted to only CR, LF, and CRLF by instead specifying (*ANYCRLF) in uppercase at the beginning of the pattern (after the options); e.g. im)(*ANYCRLF)^abc$.
Note:
Code: Select all
Msgbox % RegExMatch( " abc`n def", "`a)`a", matchObj )