Error:
Exception Value: bad character range
Exception Location: /usr/lib/python2.6/re.py in _compile, line 245
Python Executable: /usr/bin/python
I have absolutely no idea what this means. Can anyone hazard a guess or point me in the right direction?
It was all working fine before.. I've only changed a few trivial bits of code! :S
if "-" in stop:
dt1 = datetime.strptime(stop, "%Y-%m-%dT%H:%M:%S")
stopInS = time.mktime(dt1.timetuple())
stopInMS = int(startInS) * 1000
else:
splitter = re.compile(r'[\D]')
preStop = splitter.split(stop)
stopInMS = ''.join(preStop)
I was merely playing around with the double quotes before the 'in'... then the whole thing collapsed with this error.
EDIT:
Another regex present:
splitter1 = re.compile('[:]')
arrayOfIDs = splitter1.split(identifier)
idLens = len(arrayOfIDs)