Getting bash syntax hilighting to work with ig hiliter

As the bash language file doesn’t com with the plugin, I had to download it from the geshi site! but even then, the code box was not displaying the code correctly! To make it work I had to comment out the 3rd and 4th element in the REGEXPS array in the language file!

'REGEXPS' => array(
        0 => "\\$\\{[a-zA-Z_][a-zA-Z0-9_]*?\\}",
        1 => "\\$[a-zA-Z_][a-zA-Z0-9_]*",
        2 => "([a-zA-Z_][a-zA-Z0-9_]*)=",
        //3 => "(?< !\\$)#.*\n",
        //4 => "\\$#"

Leave a Reply