Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Perl m// operator inexplicably fails to match a simple regex
- $ perl -E 'say "OK" if "mbox user@testdomain.it> " =~ /mboxs+.*@.*> /s'
- $
- $ perl -E 'say "OK" if "mbox user@testdomain.it> " =~ /mboxs+.*@t.*> /s'
- OK
- $
- $ perl -E 'say "OK" if "mbox user@testdomain.it> " =~ /mboxs+.*@.*> /s'
- $
- perl -E 'say "OK" if "mbox user@testdomain.it> " =~ /mboxs+.*@.*> /s' # Yours
- perl -E 'say "OK" if "mbox user@testdomain.it> " =~ /mboxs+.*@.*>/s' # Working
- $ perl -E 'say "OK" if "mbox user@testdomain.it> " =~ /mboxs+.*@.*> /s'
Add Comment
Please, Sign In to add comment