for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace byrokrat\autogiro\Matcher;
/**
* Matcher for alphanumeric content
*/
class Alphanum extends BaseMatcher
{
protected function getDescription(): string
return 'alphanum';
}
protected function isMatch(string $str): bool
return !!preg_match('/^[A-Za-zÅÄÖåäö 0-9]*$/', $str);