diff --git a/STD.pm6 b/STD.pm6 index e682c66..e65dba3 100644 --- a/STD.pm6 +++ b/STD.pm6 @@ -4779,7 +4779,7 @@ grammar Regex is STD { } } || $$ <.panic: "Regex not terminated"> - || \W <.sorry: "Unrecognized regex metacharacter (must be quoted to match literally)"> + || (\W) <.sorry: "Unrecognized regex metacharacter " ~ $0.Str ~ " (must be quoted to match literally)"> || <.panic: "Regex not terminated"> ] ]