diff -r 9fe544c7818b pygments/lexers/other.py --- a/pygments/lexers/other.py Sat Feb 14 13:27:41 2009 +0100 +++ b/pygments/lexers/other.py Sat Feb 28 22:33:39 2009 -0600 @@ -416,7 +416,7 @@ for match in line_re.finditer(text): line = match.group() - m = re.match(r'^((?:|sh\S*?|\w+\S+[@:]\S+(?:\s+\S+)?|\[\S+[@:]' + m = re.match(r'^((?:\([A-Za-z_0-9-]+\))?(?:|sh\S*?|\w+\S+[@:]\S+(?:\s+\S+)?|\[\S+[@:]' r'[^\n]+\].+)[$#%])(.*\n?)', line) if m: # To support output lexers (say diff output), the output