[Github-comments] [geany/geany] Feature request: Allow references to named groups in regexp (#1519)

Dietmar notifications at xxxxx
Wed Jun 14 19:53:20 UTC 2017


I would like to request a feature to allow named groups (or backreferences to more than 9 numbered groups).

A ticket on sourceforge [1] says (regarding replacement):
> "Geany is limited to 9 groups in regular expressions. If you try to use a group after the 10th, it is replaced with the first group and the second digit of the group number. For example, if the group 1 is "first" and the 10 group is "tenth", \10 is replaced as "first0".

It seems that it is not possible to reference more than 9 numbered capture groups in the regular expression _replace_ field, even though Geany allows it in the regex _search_ field. In the search field, \10 is recognized correctly.

[1] https://sourceforge.net/p/geany/bugs/1042/ 

-- 
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/1519
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170614/e38da9eb/attachment.html>


More information about the Github-comments mailing list