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
In reply to Parameterized Regex by QM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |