Skip to content

Commit

Permalink
fix CJKLangUtils (#2642)
Browse files Browse the repository at this point in the history
  • Loading branch information
mauretto78 committed Jan 31, 2023
1 parent 3b1e8d4 commit dcd9d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Utils/CJKLangUtils.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

class CJKLangUtils

{
const CHINESE_REGEX = "/\p{Han}+/u";
const JAPANESE_REGEX = '/[\x{3041}-\x{3096}\x{30A0}-\x{30FF}\x{3400}-\x{4DB5}\x{4E00}-\x{9FCB}\x{F900}-\x{FA6A}\x{2E80}-\x{2FD5}\x{FF5F}-\x{FF9F}\x{3000}-\x{303F}\x{31F0}-\x{31FF}\x{3220}-\x{3243}\x{3280}-\x{337F}\x{FF01}-\x{FF5E}]/u';
const KOREAN_REGEX = '/[\x{3130}-\x{318F}\x{AC00}-\x{D7AF}]/u';
Expand Down

0 comments on commit dcd9d6b

Please sign in to comment.