Inconsistent regular expression behavior with Find/Replace
Posted: Tue Jun 17, 2014 6:01 pm
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 it 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
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 it 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