Join Slack
Powered by
Is there a kotlin way to do a string to regex and ...
# announcements
m
Michael
04/20/2018, 4:18 PM
Is there a kotlin way to do a string to regex and have it be “Un-greedy” or “lazy”?
j
jamie-purchase
04/20/2018, 4:21 PM
something like
Pattern.compile("regex", Pattern.DOTALL).toRegex()
?
jamie-purchase
04/20/2018, 4:23 PM
ah not sure if there's a flag for what you want though, nevermind
m
Michael
04/20/2018, 7:17 PM
👍🏼 Used the reluctant modifiers and got it going. Thanks!
j
jamie-purchase
04/20/2018, 7:31 PM
ah glad to hear it
12
Views
Open in Slack
Previous
Next