Skip to content

Commit f765a44

Browse files
authored
Improve documentation for String.Extra.classify (#79)
1 parent 71f0c46 commit f765a44

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/String/Extra.elm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,14 @@ camelizeRegex =
264264

265265

266266
{-| Convert a string to a camelized string starting with an uppercase letter.
267-
All non-word characters will be stripped out of the original string.
267+
All non-alphanumeric characters will be stripped out of the original string.
268268
269269
classify "some_class_name" --> "SomeClassName"
270270
271271
classify "myLittleCamel.class.name" --> "MyLittleCamelClassName"
272272
273+
classify "München" --> "MNchen"
274+
273275
-}
274276
classify : String -> String
275277
classify string =

0 commit comments

Comments
 (0)