Search/Replace suggestion

Edward Diener <[email protected]>
Newsgroups gmane.editors.jedit.user
Message-ID <[email protected]>
It would really be useful if in a search/replace operation, especially 
when using regular expressions, if the seach text found could be piped 
as input to some executable ( command processor, shell, or script ) and 
use the output of the executable as the replacement text. I occasionally 
have a need to do some sort of calculation with the text that is found 
in order to provide the replacement, which a pure textual substitution 
can not encompass. A common example would be finding a number in the 
search string, doing a numerical calculation with that number, and 
having the replacement text be the result of such a calculation. While a 
pure script, written in some language can do this, not having that sort 
of functionality while editing with JEdit is unfortunate.



-- 
-----------------------------------------------
jEdit Users' List
[email protected]
https://lists.sourceforge.net/lists/listinfo/jedit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.