News for hackers. Stuff that matters.
Re:Kotlin Compiler Crash Course by cutler on Tuesday March 16, 2021 @09:21AM (#26476324)
Yeah, right, so why do I still have to escape regex metacharacters in Java in 2021? That's just so 1988.
Re:Kotlin Compiler Crash Course by The_rationalist on Tuesday March 16, 2021 @03:07PM (#26481396)
You don't have to, java support raw strings. But yeah Kotlin is far superior, denying it is only proof of partial knowledge/ignorance.
Re:Kotlin Compiler Crash Course by cutler on Tuesday March 16, 2021 @10:59PM (#26485995)
Raw strings don't apply to regexen. You still have to escape the metacharacaters.