Skip to content

Commit

Permalink
Use single quotes for strings to avoid escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
mschwager committed Oct 15, 2024
1 parent 8727fec commit 45ad8c6
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion yaml/ansible/apt-key-unencrypted-url.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ rules:
- pattern: url
- metavariable-regex:
metavariable: $VALUE
regex: "(?i)^(http|ftp):\/\/.*"
regex: '(?i)^(http|ftp)://.*'
2 changes: 1 addition & 1 deletion yaml/ansible/apt-unencrypted-url.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ rules:
- pattern: deb
- metavariable-regex:
metavariable: $VALUE
regex: "(?i)^(http|ftp):\/\/.*"
regex: '(?i)^(http|ftp)://.*'
2 changes: 1 addition & 1 deletion yaml/ansible/dnf-unencrypted-url.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ rules:
- pattern: pkg
- metavariable-regex:
metavariable: $VALUE
regex: "(?i)^(http|ftp):\/\/.*"
regex: '(?i)^(http|ftp)://.*'
2 changes: 1 addition & 1 deletion yaml/ansible/get-url-unencrypted-url.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ rules:
- pattern: url
- metavariable-regex:
metavariable: $VALUE
regex: "(?i)^(http|ftp):\/\/.*"
regex: '(?i)^(http|ftp)://.*'
2 changes: 1 addition & 1 deletion yaml/ansible/rpm-key-unencrypted-url.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ rules:
- pattern: key
- metavariable-regex:
metavariable: $VALUE
regex: "(?i)^(http|ftp):\/\/.*"
regex: '(?i)^(http|ftp)://.*'
2 changes: 1 addition & 1 deletion yaml/ansible/unarchive-unencrypted-url.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ rules:
- pattern: src
- metavariable-regex:
metavariable: $VALUE
regex: "(?i)^(http|ftp):\/\/.*"
regex: '(?i)^(http|ftp)://.*'
2 changes: 1 addition & 1 deletion yaml/ansible/yum-unencrypted-url.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ rules:
- pattern: pkg
- metavariable-regex:
metavariable: $VALUE
regex: "(?i)^(http|ftp):\/\/.*"
regex: '(?i)^(http|ftp)://.*'
2 changes: 1 addition & 1 deletion yaml/ansible/zypper-repository-unencrypted-url.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ rules:
- pattern: community.general.zypper_repository
- metavariable-regex:
metavariable: $VALUE
regex: "(?i)^(http|ftp):\/\/.*"
regex: '(?i)^(http|ftp)://.*'
2 changes: 1 addition & 1 deletion yaml/ansible/zypper-unencrypted-url.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ rules:
- pattern: community.general.zypper
- metavariable-regex:
metavariable: $VALUE
regex: "(?i)^(http|ftp):\/\/.*"
regex: '(?i)^(http|ftp)://.*'

0 comments on commit 45ad8c6

Please sign in to comment.