diff --git a/src/mapcss/__init__.py b/src/mapcss/__init__.py index 41149f6..97a4972 100644 --- a/src/mapcss/__init__.py +++ b/src/mapcss/__init__.py @@ -27,7 +27,7 @@ NEEDED_KEYS = set(["width", "casing-width", "fill-color", "fill-image", "icon-im WHITESPACE = re.compile(r'^ \s+ ', re.S | re.X) -COMMENT = re.compile(r'^ \/\* .+? \*\/ \s* ', re.S | re.X) +COMMENT = re.compile(r'^ \/\* .*? \*\/ \s* ', re.S | re.X) CLASS = re.compile(r'^ ([\.:]:?[*\w]+) \s* ', re.S | re.X) #NOT_CLASS = re.compile(r'^ !([\.:]\w+) \s* ', re.S | re.X) ZOOM = re.compile(r'^ \| \s* z([\d\-]+) \s* ', re.I | re.S | re.X)