Feature #1016
Feature #685: TBX: x.x, Set of source workbench macros
TBX: X.X, FindRegExp & SearchReplaceInDirectory line match option
Statut: | New | Début: | 22/09/2014 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 0% |
|
Catégorie: | Macros | Temps passé: | - | |
Version cible: | TXM 0.X.X |
Description
Add a "lines match" boolean option to the macro :
- Yes: search and replace in each line independently - loop on matches on loop of line strings
- No: search and replace in the whole document at ounce - loop on matches of one string
- 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 the Java Pattern.MULTILINE modifier: http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html#MULTILINE
- CASE_INSENSITIVE
- UNICODE_CASE
- DOTALL
- LITERAL
- CANON_EQ
- UNICODE_CHARACTER_CLASS
The quote() method looks also promising in some contexts.
Historique
#1 Mis à jour par Serge Heiden il y a environ 11 ans
- Description mis à jour (diff)
#2 Mis à jour par Matthieu Decorde il y a environ 10 ans
- Version cible changé de TXM 0.7.8 à TXM 0.8.0a (split/restructuration)
#3 Mis à jour par Sebastien Jacquot il y a plus de 7 ans
- Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.8.0
#4 Mis à jour par Matthieu Decorde il y a plus de 6 ans
- Version cible changé de TXM 0.8.0 à TXM 0.X.X