Caveat: any regex solution that uses look-behind will not work if the width of the look-behind is more than 255 characters -- at least not for Perls 5.34.0 and earlier.
In reply to Re: split string at variable position with matching
by Anonymous Monk
in thread split string at variable position with matching
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |