Skip to content

Commit

Permalink
Fix selectors making rules detected as attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Col-E committed Apr 19, 2019
1 parent 034548f commit 62a5b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/default-config.j2h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<pattern>/[*]+(.|\n)+?\*/</pattern>
</rule>
<rule name="attribute">
<pattern>(?!\s+)[\w-]+(?=:)</pattern>
<pattern>(?!\s+)[\w-]+(?=:)(?=[^\{]\s)</pattern>
</rule>
<rule name="string">
<pattern>\"([^"\\]|\\.)*\"</pattern>
Expand Down

0 comments on commit 62a5b49

Please sign in to comment.