Adds a pattern that will exit the current mode and re-enter the previous one.
public addExitPattern ( string $pattern, string $mode ) | ||
$pattern | string | Perl style regex, but ( and ) lose the usual meaning. |
$mode | string | Mode to leave. |