DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
bash regex match
if [[ "test" =~ ^(.*)(.[a-z]{1,5})$ ]]; then echo "matched"; else echo "Not matched"; fi
PREVIOUS
NEXT
Tagged:
#bash
#regex
#match
ADD COMMENT
Topic
COMMENT
Name
5+7 =
Submit