Last active
June 18, 2018 04:25
-
-
Save kunigami/615d7a5614dc59c75c256537650f62d3 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 |> | |
Js.String.trim |> | |
Js.String.replaceByRe [%bs.re "/ /g"] "_" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment