You are here

constant SassScriptVariable::MATCH in Sassy 7

Same name and namespace in other branches
  1. 7.3 phpsass/script/SassScriptVariable.php \SassScriptVariable::MATCH

* Regex for matching and extracting Variables

File

phamlp/sass/script/SassScriptVariable.php, line 21

Class

SassScriptVariable
SassVariable class. @package PHamlP @subpackage Sass.script.literals

Code

const MATCH = '/^(?<!\\\\)(?(?!!important\\b)[!\\$]([\\w-]+))/';