[Geany] find-and-replace method

Ben West mrgenixus at xxxxx
Mon Feb 9 18:56:07 UTC 2009


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 at uvena.de>wrote:

> 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
>
> _______________________________________________
> Geany mailing list
> Geany at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/users/attachments/20090209/aa57b37f/attachment.html>


More information about the Users mailing list