Lines Matching defs:style
13 * @param string|array $style
21 public function buildRegex($user = null, $style = null, $data = null)
25 $style = (array)$style;
30 $style = array_filter(array_map('trim', $style));
39 $style = array_map('preg_quote_cb', $style);
44 $style = implode('|', $style);
48 if ($user . $style . $data === '') {
58 if ($style === '') {
59 $style = '\S+';
68 return "/^($user)(?:\\s+($style))$sopt(?:\\s+($data))$dopt$/";