Feature #1016
Feature #685: TBX: x.x, Set of source workbench macros
TBX: X.X, FindRegExp & SearchReplaceInDirectory line match option
Status: | New | Start date: | 09/22/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% |
|
Category: | Macros | Spent time: | - | |
Target version: | TXM 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.
History
#1 Updated by Serge Heiden over 8 years ago
- Description updated (diff)
#2 Updated by Matthieu Decorde over 7 years ago
- Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)
#3 Updated by Sebastien Jacquot almost 5 years ago
- Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0
#4 Updated by Matthieu Decorde about 4 years ago
- Target version changed from TXM 0.8.0 to TXM X.X