No greedy match on quotes for the g++ theme

This commit is contained in:
Johann Dreo 2013-04-15 21:29:59 +02:00
commit f2df87b88c

View file

@ -1,7 +1,7 @@
def theme():
return [
[ "(fatal )*(error)", "red", "bold" ],
[ "error", "red", "bold" ],
[ "warning", "magenta", "bold" ],
[ "note", "blue", "bold" ],
# [-Wflag]
@ -9,6 +9,6 @@ def theme():
# Filename:line number
[ "(/.*?)/([^/]+\.)(h|cp*):([0-9]+):*[0-9]*(.*)", "white,white,white,yellow,none", "normal,bold,bold,normal"],
# source code in single quotes
[ "'(.*)'", "Cpp", "monokai" ]
[ "'(.*?)'", "Cpp", "monokai" ]
]