https://kotlinlang.org logo
#announcements
Title
# announcements
r

Ruckus

06/28/2016, 6:59 PM
I believe it depends on how you call it. For example, if you have something like
fun doStuff(value: String) = value.matches(Regex("[a-zA-Z0-9]+"))
, the regex gets recompiled every time the method is called.