mcl-0.53.00/samples/contrib/DynaComplete.py fails to load because of a borked
regexp. See patch.
Reproducible: Always
Steps to Reproduce:
1. copy sample plugins to ~/.mcl
2. set plugins=python in ~/.mcl/mclrc
3. start mcl
4. #load contrib/DynaComplete
Actual Results:
Traceback (most recent call last):
File "/home/bjoern/.mcl/contrib/DynaComplete.py", line 118, in ?
dynac = DynaComplete( )
File "/home/bjoern/.mcl/contrib/DynaComplete.py", line 26, in __init__
self.wording = re.compile( '\s*(?P<word>[\w-#]+)' )
File "/usr/lib/python2.3/sre.py", line 179, in compile
return _compile(pattern, flags)
File "/usr/lib/python2.3/sre.py", line 230, in _compile
raise error, v # invalid expression
sre_constants.error: bad character range
Expected Results:
DynaComplete v0.1.1 loaded. Use <conrol space> or <tab> to complete
words you have already typed and <backspace> to erase.
Or use "complete <words>" to add permanent completion into list.
Python 2.3.4 (#1, Nov 21 2004, 05:43:51)
[GCC 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.