hi, I want to match the regular expression from right to left, such as:
TAG_pattern = re.compile(r"(us::.*) .*(1002|1003).*$") TAG_pattern.search(line) Does the search method support this? Thanks, Daniel
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor