Merge pull request #68 from lmarzen/lmarzen-patch-1

Removal of \w Shorthand in Favor of [A-Za-z0-9_] Character Range
pull/75/head
Jason K 2 years ago committed by GitHub
commit 632f46acad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cloudflare-template.sh

@ -73,7 +73,7 @@ fi
###########################################
## Set the record identifier from result
###########################################
record_identifier=$(echo "$record" | sed -E 's/.*"id":"(\w+)".*/\1/')
record_identifier=$(echo "$record" | sed -E 's/.*"id":"([A-Za-z0-9_]+)".*/\1/')
###########################################
## Change the IP@Cloudflare using the API

Loading…
Cancel
Save