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

try

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

  • Regex-Fu Chris via Digitalmars-d-learn
    • Re: Regex-Fu Namespace via Digitalmars-d-learn
    • Re: Regex-Fu novice2 via Digitalmars-d-learn

Reply via email to