regex question

Josiah Carlson josiah.carlson at sbcglobal.net
Fri Apr 27 09:22:06 CEST 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