arg-parser -- fix utf8
This commit is contained in:
parent
c4b2af8073
commit
6fee688968
@ -13,7 +13,7 @@
|
||||
#exitcode 0 - string valid
|
||||
#exitcode 1 - string is not valid
|
||||
grep_match() {
|
||||
printf "%s" "$1" | grep -qP "$2" >/dev/null
|
||||
printf "%s" "$1" | grep -qE "$2" >/dev/null
|
||||
}
|
||||
|
||||
#purpose Find short argument or its value
|
||||
|
Loading…
x
Reference in New Issue
Block a user