Hi, Say I have p = re.compile('a|b') text = 'a' d = p.findall(text) #d -> ['a'] What is the way to find out which pattern p match (the former or latter)? I mean without knowing the outcome of p.findall Thanks
-- Aonlazio 'Peace is always the way.' NW
-- http://mail.python.org/mailman/listinfo/python-list