Last active
June 18, 2018 06:33
-
-
Save kunigami/4d51bdf8038efc7f4194fbd7a00ca6a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let normalize s = Js.String.( | |
toLowerCase s |> | |
trim |> | |
replaceByRe [%bs.re "/ /g"] "_" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment