Code: Select all
MsgBox % RegExMatch("толочь", "m).+?((жечь|честь|толочь|нести|трясти|пасти)(с(ь|я))?)$")
Code: Select all
MsgBox % RegExMatch("_толочь", "m).+?((жечь|честь|толочь|нести|трясти|пасти)(с(ь|я))?)$")
Code: Select all
MsgBox % RegExMatch("толочь", "m)^.+?((жечь|честь|толочь|нести|трясти|пасти)(с(ь|я))?)$")
Circumflex (^) matches immediately after all internal newlines -- as well as at the start of Haystack where it always matches (but it does not match after a newline at the very end of Haystack).
How to match after a newline at the very end of Haystack?
thanks
EDIT: my mistake I figure it out it was a fault of + sign...