ComplianceAsCode / ComplianceAsCode/content

Evaluate usage of `[[:blank:]]` instead of `\s` across the project's regexes

Open
#9,399 2 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.