should have escaped hyphen as it could be used for ranging.
sorry for the bother...
From: y...@outlook.com
To: python-list@python.org
Subject: Regular Expression : Bad Character Range
Date: Thu, 19 Dec 2013 23:50:52 -0300
Hey guys,
I'm trying to compile a regular Expression
Hey guys,
I'm trying to compile a regular Expression while encountering the following
issue, any hints ?
is hyphen "-" or underscore "_" considered any meta character which is not
allowed when putting into the range ?
Thanks
Frank
In [2]: re.compile("[\w-_]+>")
---