Re: Regex: return the pattern instead of the actual match
> And why can't you do the same magical trick with the unique numbered match?
you might need other groupings which are not necessarily interesting.
The template system I used offers full flexibility. If you wanna do this with numbered matches you need to parse the template.
Cheers Rolf
In reply to Re^5: 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: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |