Regex multiple matches

Jethro via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Apr 13 19:54:59 PDT 2017


using the rule (?P<name>regex)

e.g., (?P<names>\w*)*

how do we get at all the matches, e.g., Joe Bob Buddy?

When I access the results captures they are are not arrays and I 
only ever get the first match even when I'm using matchAll.






More information about the Digitalmars-d-learn mailing list