First split on the pattern /[^\\]:/. This gives you the correct grouping, but leaves you with spurious \:. You can use map and s/// to delete them too, i.e.
For completeness: This would fail if a colon can be the very first character in your string.map { s/\\://g } split(...)
In reply to Re: Easy Split
by rovf
in thread Easy Split
by ropey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |