Hi, I think that the newly provided matchlist() function is very useful. However, in the following case:
matchlist('aoasdf', '\v(.)(o)?(.*)') = ['aoasdf', 'a', 'o', 'asdf'] matchlist('aasdf', '\v(.)(o)?(.*)') = ['aasdf', 'a'] In other words, if pattern containing ()? matches but without no occurences of an optional group (the second case above), the list is cut off at that point. I would think that in the latter case, something like ['aasdf', 'a', '', 'asdf'] would be very nice. Basically, matchlist() if it matches should always return a list of the same length as the number of groups as in the pattern but with optionally empty strings. Does this make sense? This would make parsing things easier. Thanks, Srinath