diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-23 06:15:55 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-23 06:15:55 +0200 |
commit | 4327fcbe932ac913f7eb8e92497f97913fb398c5 (patch) | |
tree | 7df1d7df5343125a66cb778bb3d672478ffcde1f /lib/coderay | |
parent | dc6071129cdc1bcd15129147bbc4d92ba870f007 (diff) | |
download | coderay-4327fcbe932ac913f7eb8e92497f97913fb398c5.tar.gz |
fix Sass regexp modifier
Diffstat (limited to 'lib/coderay')
-rw-r--r-- | lib/coderay/scanners/sass.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/sass.rb b/lib/coderay/scanners/sass.rb index 0ba383f..e20bebe 100644 --- a/lib/coderay/scanners/sass.rb +++ b/lib/coderay/scanners/sass.rb @@ -195,7 +195,7 @@ module Scanners elsif match = scan(/(?:rgb|hsl)a?\([^()\n]*\)?/) encoder.text_token match, :color - elsif match = scan(/@else if\b|#{RE::AtKeyword}/) + elsif match = scan(/@else if\b|#{RE::AtKeyword}/o) encoder.text_token match, :directive value_expected = true |