Robert Jaros
05/20/2021, 1:41 PMUncaught SyntaxError: raw bracket is not allowed in regular expression with unicode flag
in kotlin.js:44848
probably with this code:
fun validateEmail(value: String): Boolean {
return value.matches("^([a-zA-Z0-9\\-_.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z\\-0-9]{2,}))$".toRegex())
}
Robert Jaros
05/20/2021, 2:04 PMRobert Jaros
05/20/2021, 2:05 PMRobert Jaros
05/20/2021, 2:06 PMSean Keane
05/21/2021, 9:54 AMRegExp
I have 1.5.0 also and IR comp.
Here's an example that might be a workaround for you. https://pl.kotl.in/RQ8GZ-8HxSean Keane
05/21/2021, 9:55 AM