ComplianceAsCode / ComplianceAsCode/content
Evaluate usage of `[[:blank:]]` instead of `\s` across the project's regexes
Open
OVAL
triaged
- Dominant language
- Shell
- Stars
- 2.8k
- Forks
- 828
- Avg merge
- 3d 8m
- Merged PRs (30d)
- 80
Description
#### Description of problem:
`\s` covers all whitespace characters including newlines and in somecases newlines are not expected, for example:
https://github.com/ComplianceAsCode/content/blob/1880981b573f38f334d74765c54676af24f15a25/shared/templates/sysctl/oval.template#L20
would match something like:
```
{{{ SYSCTLVAR }}}
=1
```
and that's not really desired
Contributor guide
Assessment
This issue has not been assessed yet.