File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,10 @@ def parse_file(file_name, config):
82
82
#print "Parsing: %s" % (file_name)
83
83
84
84
re_statement = re .compile ("^\s*([\#\.\ a-zA-Z0-9\-\_\@\:]+)\s*{(.*?)}" , re .M | re .S )
85
- re_property = re .compile ("([-\w]+)\s*:\s*([\\ \/\:\' \" \(\)\#\%\_\-\.\ a-zA-Z0-9]+)\s*;" , re .M | re .S )
85
+
86
+ #re_property = re.compile("([-\w]+)\s*:\s*([\\\/\:\'\"\(\)\#\%\_\-\.\ a-zA-Z0-9]+)\s*;", re.M|re.S)
87
+ # Rather than explicitly allowing chars (as above), we'll take anything that isn't a semi-colon
88
+ re_property = re .compile ("([-\w]+)\s*:\s*([^\;]+)\s*;" , re .M | re .S )
86
89
87
90
# Might be able to clean this up using Python 3.1's sorted dictionary someday...
88
91
data = {'__keys__' :[], '__errors__' :[], '__warnings__' :[]}
You can’t perform that action at this time.
0 commit comments