While I think this is what you're looking for, I'm just guessing at what the right answer is if there is no match.Actually, there will always be a match, but it's appropriate to worry about null matches.
-QM
--
Quantum Mechanics: The dreams stuff is made of
In reply to Re^2: Length of first captured match
by QM
in thread Length of first captured match
by QM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |