websvn |
Subversion Repositories: |
Rev 1 | Rev 3 | |
---|---|---|
Line 2... | Line 2... | |
/************************************************************************************* |
/************************************************************************************* | |
* css.php |
* css.php | |
* ------- |
* ------- | |
* Author: Nigel McNie (nigel@geshi.org) |
* Author: Nigel McNie (nigel@geshi.org) | |
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) |
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) | |
* Release Version: 1.0.8.1 |
* Release Version: 1.0.8.3 | |
* Date Started: 2004/06/18 |
* Date Started: 2004/06/18 | |
* |
* | |
* CSS language file for GeSHi. |
* CSS language file for GeSHi. | |
* |
* | |
* CHANGES |
* CHANGES | |
Line 185... | Line 185... | |
'OOLANG' => false, |
'OOLANG' => false, | |
'OBJECT_SPLITTERS' => array( |
'OBJECT_SPLITTERS' => array( | |
), |
), | |
'REGEXPS' => array( |
'REGEXPS' => array( | |
//DOM Node ID |
//DOM Node ID | |
0 => '\#[a-zA-Z0-9\-_]+', |
0 => '\#[a-zA-Z0-9\-_]+(?:\\\\:[a-zA-Z0-9\-_]+)*', | |
//CSS classname |
//CSS classname | |
1 => '\.(?!\d)[a-zA-Z0-9\-_]+\b(?=[\{\.#\s,:].|<\|)', |
1 => '\.(?!\d)[a-zA-Z0-9\-_]+(?:\\\\:[a-zA-Z0-9\-_]+)*\b(?=[\{\.#\s,:].|<\|)', | |
//CSS Pseudo classes |
//CSS Pseudo classes | |
//note: & is needed for > (i.e. > ) |
//note: & is needed for > (i.e. > ) | |
2 => ':(?!\d)[a-zA-Z0-9\-]+\b(?:\s*(?=[\{\.#a-zA-Z,:+*&](.|\n)|<\|))', |
2 => '(?<!\\\\):(?!\d)[a-zA-Z0-9\-]+\b(?:\s*(?=[\{\.#a-zA-Z,:+*&](.|\n)|<\|))', | |
//Measurements |
//Measurements | |
3 => '[+\-]?(\d+|(\d*\.\d+))(em|ex|pt|px|cm|in|%)', |
3 => '[+\-]?(\d+|(\d*\.\d+))(em|ex|pt|px|cm|in|%)', | |
), |
), | |
'STRICT_MODE_APPLIES' => GESHI_NEVER, |
'STRICT_MODE_APPLIES' => GESHI_NEVER, | |
'SCRIPT_DELIMITERS' => array( |
'SCRIPT_DELIMITERS' => array( | |
Line 208... | Line 208... | |
) |
) | |
) |
) | |
); |
); | |
|
| |
?> |
?> | |
|