mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 08:17:22 +01:00
fix: description when using ふが chars
This commit is contained in:
@ -61,7 +61,7 @@ final class Str
|
||||
{
|
||||
$code = self::PREFIX.str_replace(' ', '_', $code);
|
||||
|
||||
return (string) preg_replace('/[^A-Z_a-z0-9]/', '_', $code);
|
||||
return (string) preg_replace('/[^\p{L}_0-9]/', '_', $code);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user