Hacker News new | ask | show | jobs
by cutler 1922 days ago
Yeah, right, so why do I still have to escape regex metacharacters in Java in 2021? That's just so 1988.
1 comments

You don't have to, java support raw strings. But yeah Kotlin is far superior, denying it is only proof of partial knowledge/ignorance.
Raw strings don't apply to regexen. You still have to escape the metacharacaters.