mnussbaumer / cssex

An Elixir based and opinionated way to write CSS
MIT License
20 stars 0 forks source link

Make <$ ... $> regex non greedy and scope with @? and $? correction #35

Closed mnussbaumer closed 3 years ago

mnussbaumer commented 3 years ago

Removed greediness for the regex matching <$ ... $> as multiple of them, e.g. in a calc() statement, would be wrongly parsed as a single one.

Made $? and @? both set the global instead of local scope if neither a global or local with that name is set - this is so that if you load a partial stylesheet that sets some *? they will be set globally from then on.