This fails. Removing the \s* or adding {1} after the \p{Dash} makes it succeed."-" =~ /\s*\p{Dash}/;
Please use perlbug to file a bug report.
In reply to Re: Strange re behaviour for /\s*\p{Dash}\s*/ - bug or feature?
by JavaFan
in thread Strange re behaviour for /\s*\p{Dash}\s*/ - bug or feature?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |