The pattern does not change the current mode.
public addPattern ( string $pattern, string $mode = 'accept' ) | ||
$pattern | string | Perl style regex, but ( and ) lose the usual meaning. |
$mode | string | Should only apply this pattern when dealing with this type of input. |