i added a PR #14 that covers the pattern e.g.: 'pattern:(John|Carl) Doe'
because of the "foreach (explode('|', $expected) as $item)..." in the is() validator, the validator explodes the string trying to make alternatives of possibilities, but the pipe in the $expected string represents regex alternative. don't know how to solve it generally, so i made just the update to test.
i added a PR #14 that covers the pattern e.g.: 'pattern:(John|Carl) Doe'
because of the "foreach (explode('|', $expected) as $item)..." in the is() validator, the validator explodes the string trying to make alternatives of possibilities, but the pipe in the $expected string represents regex alternative. don't know how to solve it generally, so i made just the update to test.