Associating the name of the capture group to the subpattern solves the problem.
Cheers Rolf
In reply to Re^3: Regex: return the pattern instead of the actual match
by LanX
in thread Regex: return the pattern instead of the actual match
by Deus Ex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |