You are here

constant SassScriptVariable::MATCH in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/sass/script/SassScriptVariable.php \SassScriptVariable::MATCH

Regex for matching and extracting Variables

File

phpsass/script/SassScriptVariable.php, line 21

Class

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

Code

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