Feature #1016

Mis à jour par Serge Heiden il y a environ 11 ans

Add a "lines the "line match" boolean option to the macro :
* Yes: search and replace in each line independently - loop on matches on loop of line strings lines
* No: search and replace in the whole document at ounce - loop on matches of one string

*Solution*:
* A. add the possibility to match the whole file, and not only loop on each line of the file
* B. when processing a whole file, tell the Pattern object to match lines and the opposite when processing each line.
See if the Java Pattern.MULTILINE modifier: http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html#MULTILINE

Other interesting modifiers:
* CASE_INSENSITIVE
* UNICODE_CASE
* DOTALL
* LITERAL
* CANON_EQ
* UNICODE_CHARACTER_CLASS

The quote() method looks also promising in some contexts.
regexp engine has an option for line semantics.

Retour