The thing is that the matcher won't read the `\d` ...
# announcements
g
The thing is that the matcher won't read the
\d
as a regex metacharacter, but solely as
\d
, and thus will simply try to find it in any given string, which is why
Copy code
Regex.fromLiteral("""\d\d\d\d""").matches("""\d\d\d\d""") == true