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

karelpeeters

08/03/2017, 4:55 PM
@evkaky Just check if the match was actually found at that index?
e

evkaky

08/03/2017, 7:29 PM
yes, but this a bit inefficient. If my match (22 in my case) at the end of the huge string,
regex.find(huge_string)
will perform some not necessary search until it reaches the of the huge
text