Update regex to match horizontal white space only
This commit is contained in:
parent
4b5f16d73a
commit
80d8949850
1 changed files with 1 additions and 1 deletions
2
yadm
2
yadm
|
@ -1858,7 +1858,7 @@ function parse_encrypt() {
|
|||
if [ -f "$YADM_ENCRYPT" ] ; then
|
||||
# parse both included/excluded
|
||||
while IFS='' read -r line || [ -n "$line" ]; do
|
||||
if [[ ! $line =~ ^# && ! $line =~ ^[[:space:]]*$ ]] ; then
|
||||
if [[ ! $line =~ ^# && ! $line =~ ^[[:blank:]]*$ ]] ; then
|
||||
local IFS=$'\n'
|
||||
for pattern in $line; do
|
||||
if [[ "$pattern" =~ $exclude_pattern ]]; then
|
||||
|
|
Loading…
Reference in a new issue