That said, I believe it has other problems.
It doesn't set $1 to foo when matching against bli #foo bla.
It doesn't set $1 to the empty string when matching against bli bla. However, it does set it to undef, which might be close enough.
In reply to Re^4: Simple Regex drives me insane
by ikegami
in thread Simple Regex drives me insane
by cheerydog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |