Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
scudette committed Sep 8, 2023
1 parent fb6735a commit a8cee65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artifacts/definitions/Generic/System/HostsFile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export: |
/* Remove any whitespace between comment character and comment: */
regex_replace(re='''^\s+''', source=Comment, replace='$1') AS Comment
FROM parse_records_with_regex(file=OSPath,
regex='''(?m)^[\t ]*(?P<Address>[^\s#]+)[\t ]+(?P<Hostname>[^\s#]+)(?P<Aliases>[^#\n]+)?(?:[\t ]*#(?P<Comment>[^\n]+))?$''')
regex='''(?m)^[\t ]*(?P<Address>[^\s#]+)[\t ]+(?P<Hostname>[^\s#]+)(?P<Aliases>[^#\n\r]+)?(?:[\t ]*#(?P<Comment>[^\n\r]+))?$''')
LET Files = SELECT OSPath FROM glob(globs=hostsFileGlobs.HostsFileGlobs)
Expand Down

0 comments on commit a8cee65

Please sign in to comment.