Inconsistent regular expression behavior with Find/Replace

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Frank Ralf
Posts: 450
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Inconsistent regular expression behavior with Find/Replace

Post by Frank Ralf »

Hi,

I've noticed that the regular expressions do behave differently in Find/Replace within a single file and Find/Replace in Files, most notably the behavior of a point "." As the "Dot matches all" option (Perl's /s modifier) is missing from Find/Replace in Files this makes quite cumbersome to write a regex which spans multiple lines in the source code.

Is there a workaround or do I have to use another editor for more complex regex find/replace operations across multiple files? It would be great, if Find/Replace in Files would provide the same options as the usual Find/Replace.

Kind regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com