error: bogus escape: u'\\1'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Expired
|
Undecided
|
Unassigned |
Bug Description
(This bug refers to an older version. When it happened I ended up not reporting or writing down more details, but kept the error message anyway. Now I'm reporting them all, in batch, in the hope it still helps to fix if unfixed, or to add to regression tests.)
linux
This is zim 0.56
Python version is (2, 6, 5, 'final', 0)
Gtk version is (2, 20, 1)
Pygtk version is (2, 17, 0)
Platform is posix
No bzr version-info found
====== Traceback ======
File "/usr/lib/
method(*arg)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
ok = buffer.
File "/usr/lib/
self.
File "/usr/lib/
self.regex = re.compile(string, re.U | re.I)
File "/usr/lib/
return _compile(pattern, flags)
File "/usr/lib/
raise error, v # invalid expression
error: bogus escape: u'\\1'
Cannot reproduce, also non-obvious how this can happen from code review