-
-
Save ahstro/dff262cb73607d2a57db8e11808a1abb 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
import Regex | |
alphanumericRegex = | |
Regex.regex "^[A-Za-z0-9]*$" | |
allAlphanumeric : String -> Bool | |
allAlphanumeric = | |
Regex.contains alphanumericRegex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment