I need NSRegularExpression, which is not greedy. You know, if there is:
ABABABA
... and I ask that it matches B.*B I want him to capture the smallest possible match: BAB , not BABAB .
Iβve been looking at this problem for an hour now, and I continue to find links to the ICU / XCode regex implementation, maintaining unwanted matching, but for my life I canβt find the syntax to actually do it anywhere.
source share