summaryrefslogtreecommitdiff
path: root/elm/Lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-06-17 10:13:41 +0200
committerYorhel <git@yorhel.nl>2020-06-17 10:13:41 +0200
commit7bac5611f8b80cfab14b521b03031acd8c059be4 (patch)
tree02bcdfae4dbd47707e4ccf089eeeba298eba7d57 /elm/Lib
parenta063c345296cb4474e8bc11769781c23e9153ff6 (diff)
Elm: Recognize Hangul as a non-latin language
Diffstat (limited to 'elm/Lib')
-rw-r--r--elm/Lib/Util.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/elm/Lib/Util.elm b/elm/Lib/Util.elm
index 725d4331..f5954772 100644
--- a/elm/Lib/Util.elm
+++ b/elm/Lib/Util.elm
@@ -74,7 +74,7 @@ jap_ = Maybe.withDefault Regex.never (Regex.fromString "[\\u3000-\\u9fff\\uff00-
-- Not even close to comprehensive, just excludes a few scripts commonly found on VNDB.
nonlatin_ : Regex.Regex
-nonlatin_ = Maybe.withDefault Regex.never (Regex.fromString "[\\u3000-\\u9fff\\uff00-\\uff9f\\u0400-\\u04ff]")
+nonlatin_ = Maybe.withDefault Regex.never (Regex.fromString "[\\u3000-\\u9fff\\uff00-\\uff9f\\u0400-\\u04ff\\u1100-\\u11ff\\uac00-\\ud7af]")
containsJapanese : String -> Bool
containsJapanese = Regex.contains jap_