';
}
// run some tests to verify solution
echo 'Positive tests:
';
test($pattern, 'We4');
test($pattern, 'BhjsfdfljksfdljkjklZUölsdösdoui43089890nklkdjlsfjkl9');
test($pattern, 'A 89');
echo '
Negative tests:
';
test($pattern, 'W4', false);
test($pattern, '4RT', false);
test($pattern, 'ab3', false);
?>