[Github-comments] [geany/geany] Document the regular expression replacement character (#2439)

Matthew Brush notifications at xxxxx
Sun Feb 16 13:35:55 UTC 2020


It is documented in [the manual](https://www.geany.org/manual/current/index.html#regular-expressions):


\n | Where n is 1 through 9 refers to the first through ninth tagged region when searching or replacing. Searching for (Wiki)\1 matches WikiWiki. If the search string was Fred([1-9])XXX and the replace string was Sam\1YYY, when applied to Fred2XXX this would generate Sam2YYY.
-- | --

Maybe it needs to be called-out more, since the GLib docs don't do a good job either.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2439#issuecomment-586706966
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200216/3fbb7548/attachment-0001.htm>


More information about the Github-comments mailing list