save 'Searches'
Posted: Tue Aug 31, 2004 10:26 pm
I have frequently to alter some files with rather complex regex-searches.
e.g. to highlight the keys in a config file I have to separate the key from the value like
to
While the value could be a char/word or number and there are some other equal signs which should not be touched I have to use a term like
Since the programs usually the spaces remove when they write to the config file I have to do the changes frquently.
In this case it would be handy if you could save a 'search' and load it from a list if you need it.
If there would be implemented such a feature it would be nice if you could also save the 'replace' . So I would have to press [F8], [Ctrl]+ [o] (for load search), highlight the wanted 'search' , press enter and [Alt]+[a] for replace all and the file is altered.
Woulld anybody like that feature, too?
sheepdog
e.g. to highlight the keys in a config file I have to separate the key from the value like
Code: Select all
allowed=abcde//
Code: Select all
allowed= abcde///
Code: Select all
\([[:alpha:]]\)\(=\)\([[:digit:][:alpha:]]+\)\(///\)
In this case it would be handy if you could save a 'search' and load it from a list if you need it.
If there would be implemented such a feature it would be nice if you could also save the 'replace' . So I would have to press [F8], [Ctrl]+ [o] (for load search), highlight the wanted 'search' , press enter and [Alt]+[a] for replace all and the file is altered.
Woulld anybody like that feature, too?
sheepdog