It works with (?=\0) so I'd say it comes from zero-width assertions preventing optimization.
Edit : In this special case (single word without a j at the end) it also works with \b
In reply to Re^3: Return string that starts and ends with specific characters
by Eily
in thread Return string that starts and ends with specific characters
by gilthoniel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |