Regex-Fu

novice2 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 25 04:20:44 PDT 2015


> I cannot get the longest possible
it match longest for first group ([a-z]+)

try

^([a-z]+?)(hula|ula)$



More information about the Digitalmars-d-learn mailing list