``` println("""\d\d\d\d""".toRegex().matches("1234...
# announcements
g
Copy code
println("""\d\d\d\d""".toRegex().matches("1234"))                    // Outputs: true
println("""\d\d\d\d""".toRegex(RegexOption.LITERAL).matches("1234")) // Outputs: false
Indeed, the thing here is the
LITERAL
option.