A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/mrabarnett/mrab-regex/issues/133 below:

support for captures() in expandf() · Issue #133 · mrabarnett/mrab-regex · GitHub

Original report by Anonymous.

I am doing a capture of repeating groups, for eventual substitution, and need the ability to reference specific captured values in substitutions and expansions (ie, expand/expandf).

Ideally, the format of the match expansion would be enhanced to differentiate between groups and captures, and within captures, specify an index, perhaps with a dot notation: Ie, {1.2} would match the second match of the first capture group.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4