[Geany] find-and-replace method

Enrico Tröger enrico.troeger at xxxxx
Mon Feb 9 18:51:58 UTC 2009


On Mon, 9 Feb 2009 11:10:34 -0700, Ben West <mrgenixus at gmail.com> wrote:

>I was curious what lib you are using for find and replace (if any) I'm

It's just Scintilla.


>trying to do a substitution like:
>
>document.getElementById\('(\w+)'\).innerHTML = (.+);*
>for
>$('#$1').html($2) but don't know if that facility is supported

as the manual [1] describes, you want to use \1 to use references. And
since you probably already have read the manual section about regexps,
you probably also already know that regular expressions work only per
line :).



[1] http://geany.org/manual/0.15/#regular-expressions

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20090209/dcdb2079/attachment.pgp>


More information about the Users mailing list