We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c29730c + a83ef56 commit ff54a41Copy full SHA for ff54a41
xr.sh
@@ -86,7 +86,7 @@ function _src_track() {
86
87
# Tests whether the given string is a valid UUID or not.
88
function _is_uuid() {
89
- [[ "$1" =~ '^[a-z0-9]{32}$' ]]
+ [[ "$1" =~ ^[[:xdigit:]]{32}$ ]]
90
}
91
92
# Public function.
0 commit comments