Details
-
Bug
-
Resolution: Invalid
-
Medium
Description
Using pss for the first time to look at files in a dir. Both files have the word "module" on every line. Bah!
pss *mod .
{{
{\\ Traceback (most recent call last):\\ File "c:/msys/1.0/usr/bin/pss", line 2, in <module>\\ from psslib.pss import main; main()\\ File "c:\Python27\lib\site-packages\psslib\pss.py", line 95, in main\\ ncontext_after=ncontext_after)\\ File "c:\Python27\lib\site-packages\psslib\driver.py", line 168, in pss_run\\ max_match_count=max_match_count)\\ File "c:\Python27\lib\site-packages\psslib\contentmatcher.py", line 54, in *init*\\ literal_pattern=literal_pattern)\\ File "c:\Python27\lib\site-packages\psslib\contentmatcher.py", line 99, in _create_regex\\ regex = re.compile(pattern, re.I if ignore_case else 0)\\ File "c:\Python27\lib\re.py", line 190, in compile\\ return _compile(pattern, flags)\\ File "c:\Python27\lib\re.py", line 245, in _compile\\ raise error, v # invalid expression\\ sre_constants.error: nothing to repeat\\ }}}