QM has asked for the wisdom of the Perl Monks concerning the following question:
Here's a "parameterized regex":
m/^The quick brown (?<first>\w+) jumps over the lazy (?<second>\w+)\.$ +/
(This is called a named capture.)
What is the prevalent name for this feature, beyond my small Perl worldview?
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Parameterized Regex (updated)
by haukex (Archbishop) on Mar 02, 2017 at 18:23 UTC | |
by QM (Parson) on Mar 03, 2017 at 10:03 UTC | |
|
Re: Parameterized Regex
by davido (Cardinal) on Mar 03, 2017 at 05:11 UTC | |
by Laurent_R (Canon) on Mar 03, 2017 at 07:34 UTC | |
by AnomalousMonk (Archbishop) on Mar 03, 2017 at 11:02 UTC | |
by Laurent_R (Canon) on Mar 03, 2017 at 23:33 UTC | |
by QM (Parson) on Mar 03, 2017 at 10:11 UTC | |
|
Re: Parameterized Regex (named)
by Anonymous Monk on Mar 03, 2017 at 00:02 UTC |