Created
December 18, 2017 20:51
-
-
Save circa10a/1f161913a785401b5e1f88f346a5863f to your computer and use it in GitHub Desktop.
bash regex
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
[[ $input=~ [A-Za-z0-9-]+\/[A-Za-z0-9-]+\:[A-Za-z0-9-]+ ]]; then |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment