Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created Feb 1, 2021
Embed
What would you like to do?
evalable6
"MSTR".match(/^[A-Z]+$/)
(exit code 1)
===SORRY!===
Unrecognized regex metacharacter - (must be quoted to match literally)
at /tmp/ujJn0TfbfB:1
------> "MSTR".match(/^[A⏏-Z]+$/)
Unable to parse expression in metachar:sym<[ ]>; couldn't find final ']' (corresponding starter was at line 1)
at /tmp/ujJn0TfbfB:1
------> "MSTR".match(/^[A-⏏Z]+$/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment