Skip to content

Commit

Permalink
[Sass] [SCSS] Fix a bug in the parser that allowed for some numbers t…
Browse files Browse the repository at this point in the history
…o be misrecognized and also caused performance issues in some rare cases.
  • Loading branch information
chriseppstein authored and nex3 committed Jul 31, 2010
1 parent ce8a16a commit d81d18f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sass/scss/rx.rb
Expand Up @@ -63,7 +63,7 @@ def self.quote(str, flags = 0)

IDENT = /-?#{NMSTART}#{NMCHAR}*/
NAME = /#{NMCHAR}+/
NUM = /[0-9]+|[0-9]*.[0-9]+/
NUM = /[0-9]+|[0-9]*\.[0-9]+/
STRING = /#{STRING1}|#{STRING2}/
URLCHAR = /[#%&*-~]|#{NONASCII}|#{ESCAPE}/
URL = /(#{URLCHAR}*)/
Expand Down

0 comments on commit d81d18f

Please sign in to comment.