From 2320b2e7fe3082dee230d4976a43837f6f1e6d1f Mon Sep 17 00:00:00 2001 From: Leonardo Taglialegne Date: Thu, 26 Jun 2025 16:08:38 +0200 Subject: [PATCH] Improve documentation for String.Extra.classify --- src/String/Extra.elm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/String/Extra.elm b/src/String/Extra.elm index 67a476e..d1054aa 100644 --- a/src/String/Extra.elm +++ b/src/String/Extra.elm @@ -264,12 +264,14 @@ camelizeRegex = {-| Convert a string to a camelized string starting with an uppercase letter. -All non-word characters will be stripped out of the original string. +All non-alphanumeric characters will be stripped out of the original string. classify "some_class_name" --> "SomeClassName" classify "myLittleCamel.class.name" --> "MyLittleCamelClassName" + classify "München" --> "MNchen" + -} classify : String -> String classify string =