Lines Matching defs:user
12 * @param string|array $user
21 public function buildRegex($user = null, $style = null, $data = null)
24 $user = (array)$user;
29 $user = array_filter(array_map('trim', $user));
33 // user names are encoded
34 $user = array_map('auth_nameencode', $user);
37 $user = array_map('preg_quote_cb', $user);
43 $user = implode('|', $user);
48 if ($user . $style . $data === '') {
55 if ($user === '') {
56 $user = '\S+';
68 return "/^($user)(?:\\s+($style))$sopt(?:\\s+($data))$dopt$/";