Task #1203

TBX: 0.7.7: SearchReplaceInDirectory "showMatchingFilesOnly" option behave like grep

Added by Matthieu Decorde almost 7 years ago. Updated 9 months ago.

Status:Closed Start date:12/15/2014
Priority:Normal Due date:
Assignee:- % Done:


Category:Macros Spent time: -
Target version:TXM 0.7.7


SH: The SearchReplaceInDirectory "showMatchingFilesOnly" option behavior must be coherent with the script behavior without the option (actual string 'replacement' in the files). If the 'replacement' behavior asks for a full line regexp, the 'showMatchingFilesOnly' must also ask for a full line regexp. Otherwise, the 'showMatchingFilesOnly' option is not an option, it is another command and the script should be splet.

MD: the SearchReplaceInDirectory "showMatchingFilesOnly" option must not behave like grep.
The user must add manually ".*" if necessary


- remove the starting and ending ".*" in the regular expression
- remove the "showMatchingFilesOnly" option and create the SearchInDirectory macro

Validation test
search and replace "aa" in the following content
aa bb aaa bb a bb aaaa b

MD : OK Linux 64bit


#1 Updated by Serge Heiden almost 7 years ago

  • Description updated (diff)

#2 Updated by Matthieu Decorde almost 7 years ago

  • Status changed from New to Feedback

#3 Updated by Matthieu Decorde over 6 years ago

  • Description updated (diff)
  • % Done changed from 80 to 90

#4 Updated by Matthieu Decorde 9 months ago

  • % Done changed from 90 to 100

#5 Updated by Matthieu Decorde 9 months ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF