Location: PHPKode > scripts > Nijikodo > ccampbell-nijikodo-a0508c1/lib/Nijikodo/Language/Ini.php
<?php
namespace Nijikodo\Language;

/**
 * Ini code processor
 *
 * @package Language
 * @subpackage Ini
 * @author Craig Campbell <hide@address.com>
 */
class Ini extends Generic
{
    /**
     * regex rules for ini files
     *
     * @return void
     */
    protected function _preProcess()
    {
        parent::_addStringPattern();
        parent::_addMathPattern();
        parent::_addNumberPattern();
        $this->_addPattern('/(?<![a-zA-Z0-9_])(\[.*\])/', '<span class="' . $this->_css_prefix . 'method">$1</span>');
        $this->_addPattern('/\[(.*\s?\:\s?)(.*)\]/', '[$1<em>$2</em>]');
    }
}
Return current item: Nijikodo