Is there a kotlin way to do a string to regex and ...
# announcements
m
Is there a kotlin way to do a string to regex and have it be “Un-greedy” or “lazy”?
j
something like
Pattern.compile("regex", Pattern.DOTALL).toRegex()
?
ah not sure if there's a flag for what you want though, nevermind
m
👍🏼 Used the reluctant modifiers and got it going. Thanks!
j
ah glad to hear it