good call on the manual bit -- only once? what do I need to implement multiple find/replace?

On Mon, Feb 9, 2009 at 11:51 AM, Enrico Tröger <enrico.troeger@uvena.de> wrote:
On Mon, 9 Feb 2009 11:10:34 -0700, Ben West <mrgenixus@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

_______________________________________________
Geany mailing list
Geany@uvena.de
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany




--
/ˈmɪstər/ /ˈdʒɛnəsɪs/@/dʒi/ /meɪl/ /dɒt/ /kɒm/
Benjamin West