Lines Matching refs:options
172 * Internal function for parsing highlight options.
173 * $options is parsed for key value pairs separated by commas.
178 * @param string $options space separated list of key-value pairs,
183 protected function parse_highlight_options($options)
186 preg_match_all('/(\w+(?:="[^"]*"))|(\w+(?:=[^\s]*))|(\w+[^=\s\]])(?:\s*)/', $options, $matches, PREG_SET_ORDER);
204 // Check for supported options
662 // Cut out variable options enclosed in []
663 preg_match('/\[.*\]/', $matches[0], $options);
664 if (!empty($options[0])) {
665 $matches[0] = str_replace($options[0], '', $matches[0]);
673 if (!empty($options[0])) {
674 $param [] = $this->parse_highlight_options($options[0]);