Interesting. Similar to your +0, this seems to work:
a => ($b =~ /(\d+)/ ? "$1" : 0),Could this be a Perl bug?
In reply to Re^2: Strange Regex Behavior
by Manchego
in thread Strange Regex Behavior
by Manchego
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |