regex question

Josiah Carlson josiah.carlson at sbcglobal.net
Fri Apr 27 03:22:06 EDT 2007


proctor wrote:
> i have a regex:  rx_test = re.compile('/x([^x])*x/')

You probably want...

rx_test = re.compile('/x([^x]*)x/')


  - Josiah



More information about the Python-list mailing list