in reply to Re: Regexp substitution using variables
in thread Regexp substitution using variables
If you can think of a better way to do this, I am all ears — but bear in mind I do need the full power of regexp substitutions, e.g. the ability to include parenthesized sub-expressions in the "from" part and $1 back-references in the "to" part."245$a": [ { "op": "regsub", "from": "foo", "to": "bar", "flags": "g" } ]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regexp substitution using variables
by davido (Cardinal) on Nov 25, 2020 at 22:55 UTC | |
by MikeTaylor (Sexton) on Nov 25, 2020 at 23:23 UTC | |
by AnomalousMonk (Archbishop) on Nov 26, 2020 at 11:36 UTC | |
by choroba (Cardinal) on Nov 26, 2020 at 12:26 UTC | |
by AnomalousMonk (Archbishop) on Nov 26, 2020 at 21:03 UTC | |
|
Re^3: Regexp substitution using variables
by AnomalousMonk (Archbishop) on Nov 26, 2020 at 03:41 UTC | |
|
Re^3: Regexp substitution using variables
by LanX (Saint) on Nov 26, 2020 at 10:53 UTC | |
by LanX (Saint) on Nov 26, 2020 at 11:51 UTC | |
|
Re^3: Regexp substitution using variables
by AnomalousMonk (Archbishop) on Nov 26, 2020 at 03:30 UTC |