Because the problem is not easy to grasp normally one knows beforehand if captures are expected.
And the documentation is accurate.
My last solution here should fix the fake capture issue in a straight forward way, without any performance or version penalty.
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
In reply to Re^3: How to know that a regexp matched, and get its capture groups?
by LanX
in thread How to know that a regexp matched, and get its capture groups?
by Anonymous Monk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |