...tape contents... * * To use, install 'Geshi' into your WP plugins directory, and copy this config into * the subdirectory containing the configs supplied for other programming languages. * * Known Bugs: 1) The existence of PHP, and of Wordpress, and of Geshi, and the fact * that this item relies on all three of these atrocities. * * 2) At least one whitespace character is required between any two * successive Peh operators, for colourization to work reliably. * Peh per se permits, but does not demand, any whitespace separation * between consecutive valid operators, or for that matter anywhere * else. Whitespace, incl. newlines, CR, tabs, is not syntactically * significant in Peh. * ************************************************************************************/ $language_data = array ( 'LANG_NAME' => 'Peh', 'COMMENT_SINGLE' => array(), 'COMMENT_MULTI' => array(), 'COMMENT_REGEXP' => array(1 => '/(\(([^()]|(?R))*\))/ms', 2 => '/\[(?:[^\[\]]|(?R))*\]/ms', ), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 'QUOTEMARKS' => array(), 'HARDQUOTE' => array(), 'ESCAPE_CHAR' => '', 'NUMBERS' => array( 0 => '\.[0-9A-Fa-f\s]*' ), 'KEYWORDS' => array( 1 => array( 'R*', 'MI', 'XG' ), 2 => array( 'LC', 'RC', 'QY', 'QN', 'QM', 'QD', 'QE', 'ZR', 'ZD', 'ZF', 'ZA' ), 3 => array( 'MS', 'M*', 'MX' ), 4 => array( 'RS', 'LS' ), ), 'SYMBOLS' => array( 0 => array('"', '_', '`', '\'', '.', '=', '<', '>', '-', '+', '#', '$', '&', '|', '^', '~', 'U', 'W', 'O', 'V'), 1 => array(':', ','), 2 => array( 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' ), 3 => array(';'), 4 => array('@', '!'), 5 => array('?', 'P'), 6 => array('*', '\\', '/', '%', 'G', 'S' ), ), 'CASE_SENSITIVE' => array( GESHI_COMMENTS => true, 1 => true, 2 => true, 3 => true, 4 => true ), 'STYLES' => array( 'KEYWORDS' => array( 1 => 'color: #993300; font-weight:bold;', 2 => 'color: #FFFFFF; background-color: #FF0000;', 3 => 'color: #ff0000; font-weight:bold;', 4 => 'color: #006633; font-weight:bold;' ), 'BRACKETS' => array( 0 => 'color: #66cc66;' ), 'COMMENTS' => array( 1 => 'color: #adadad; font-style: italic;', 2 => 'color: #FFFFFF; font-style: italic; background-color: #660033;', 3 => 'background-color: #999999;', ), 'ESCAPE_CHAR' => array(), 'BRACKETS' => array( 0 => 'color: #FFFFFF; background-color: #FF0000;' ), 'STRINGS' => array( 0 => 'color: #7f007f;' ), 'NUMBERS' => array( 0 => 'color: #000000;' ), 'METHODS' => array( 1 => 'color: #202020;' ), 'SYMBOLS' => array( 0 => 'color: #006633; font-weight:bold;', 1 => 'color: #FFFFFF; background-color: #FF0000;', 2 => 'color: #CC00FF; font-weight:bold;', 3 => 'color: #FFFFFF; background-color: #0000FF; font-weight:bold;', 4 => 'color: #6699FF;', 5 => 'color: #FF0000;', 6 => 'color: #993300; font-weight:bold;' ), 'REGEXPS' => array( 0 => 'color: #FFFFFF; background-color: #0000FF; font-weight:bold;', 1 => 'color: #0000FF; font-weight:bold; text-decoration: underline;', ), 'SCRIPT' => array( ) ), 'URLS' => array(), 'OOLANG' => false, 'OBJECT_SPLITTER' => '', 'REGEXPS' => array( 0 => array( GESHI_SEARCH => '(@)([^\@\!]+)(@)', // we wanna highlight the characters, which are in the second bracketed group GESHI_REPLACE => '\\2', // no modifiers, since we're not matching the "anything" regex GESHI_MODIFIERS => 'si', // before the highlighted characters should be the first // bracketed group GESHI_BEFORE => '\\1', // after the highlighted characters should be the third // bracketed group GESHI_AFTER => '\\3' ), 1 => array( GESHI_SEARCH => '(@)([\-a-zA-Z0-9]+)(!)', // we wanna highlight the characters, which are in the second bracketed group GESHI_REPLACE => '\\2', // no modifiers, since we're not matching the "anything" regex GESHI_MODIFIERS => '', // before the highlighted characters should be the first // bracketed group GESHI_BEFORE => '\\1', // after the highlighted characters should be the third // bracketed group GESHI_AFTER => '\\3' ), ), 'STRICT_MODE_APPLIES' => GESHI_NEVER, 'SCRIPT_DELIMITERS' => array(), 'HIGHLIGHT_STRICT_BLOCK' => array(0 => true, 1 => true, 2 => true, 3 => true) ); ?>