Hi raymorris, welcome to the Monastery, and Happy New Year!
I could be wrong here, but this looks like an XY Problem, and I suspect you may be looking at the issue backwards. Could you show us some code so we can see what you're trying to do in a real case?
Cheers,
-stevieb
In reply to Re: Regex partial/leading match
by stevieb
in thread Regex partial/leading match
by raymorris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |