John Henry wrote: > Oops!
for cases like this, writing
"[" + re.escape(charset) + "]"
is usually a good way to avoid repeated oops:ing.
> newString= re.split("[; ()\[\]", result)
>>> newString= re.split("[; ()\[\]", result)
Traceback (most recent call last):
...
sre_constants.error: unexpected end of regular expression
</F>
--
http://mail.python.org/mailman/listinfo/python-list
