gabrielfv
06/28/2018, 2:44 PMprintln("""\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.