looks as if it works on your test data.perl -le "print for split /(?=[^~\/](?:.|$))/,shift" "E/sYna~ko/"
Update Actually that should have been
but you saw thatperl -le "print for split /(?=[^~\/])/,shift" "E/sYna~ko/"
In reply to Re: split this
by Tyke
in thread split this
by pike
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |