I'm confused. Aren't your left and right side zero length assertions:
(?(?=\w)(?<!\w)|(?<!\W))
and
(?(?<=\w)(?!\w)|(?!\W))
just synonymous with \b?
In reply to Re^2: Regex help
by pKai
in thread Regex help
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |