diff --git a/src/Faker/Provider/ja_JP/Text.php b/src/Faker/Provider/ja_JP/Text.php index 34556202..c8671cc0 100644 --- a/src/Faker/Provider/ja_JP/Text.php +++ b/src/Faker/Provider/ja_JP/Text.php @@ -598,7 +598,7 @@ EOT; protected static function explode($text) { $chars = array(); - foreach (preg_split('//u', preg_replace('/\s+/', '', $text)) as $char) { + foreach (preg_split('//u', preg_replace('/\s+/u', '', $text)) as $char) { if ($char !== '') { $chars[] = $char; }