Join Slack
Powered by
<@U1PRSBLHJ> your regex is greedy. Another possibl...
# announcements
a
Andreas Sinz
10/09/2016, 11:00 AM
@semoro
your regex is greedy. Another possible regex besides ilya's one is
([A-z]+\\s)+?
see:
https://docs.oracle.com/javase/tutorial/essential/regex/quant.html
last chapter
Differences Among Greedy, Reluctant, and Possessive Quantifiers
Open in Slack
Previous
Next