Lines Matching refs:pattern
219 ->given($pattern = '/foo/i')
220 ->when($result = LUT::safePattern($pattern))
229 ->given($pattern = '/foo/ui')
230 ->when($result = LUT::safePattern($pattern))
240 $pattern = '//u',
243 ->when($result = $string->match($pattern, $matches))
257 $pattern = '//u',
260 ->when($result = $string->match($pattern, $matches, 0, 0))
267 ->when($result = $string->match($pattern, $matches, 0, 4))
274 ->when($result = $string->match($pattern, $matches, 0, 5))
286 $pattern = '//u',
289 ->when($result = $string->match($pattern, $matches, $string::WITH_OFFSET))
306 $pattern = '//u',
309 ->when($result = $string->match($pattern, $matches, 0, 0, true))
326 $pattern = '//u',
329 ->when($result = $string->match($pattern, $matches, $string::WITH_OFFSET, 0, true))
352 $pattern = '/()/u',
355 ->when($result = $string->match($pattern, $matches, $string::GROUP_BY_PATTERN, 0, true))
376 $pattern = '/()/u',
379 ->when($result = $string->match($pattern, $matches, $string::GROUP_BY_TUPLE, 0, true))