Skip to content

Commit 87207d9

Browse files
authored
Merge pull request #32 from hppr-dev/fix_string_validator
Change regex for string to match everything. Fix for #19
2 parents a85763a + 1044af3 commit 87207d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/drivers/bash_driver.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ bash_validate() {
9292
# Define available types
9393
declare -A verif
9494
local avail_types='str|int|bool|nowhite|upper|lower|single|ip'
95-
local verif[str]='^[^1].*$'
95+
local verif[str]='^.*$'
9696
local verif[int]='^[0-9]+$'
9797
local verif[bool]='^1$'
9898
local verif[nowhite]='^[^[:space:]]+$'

0 commit comments

Comments
 (0)