CycloneDX / CycloneDX/specification
[2.0]: dont use non-standard modifiers in patterns
Open
CDX 2.0
chore
defect
- Dominant language
- XSLT
- Stars
- 547
- Forks
- 93
- Avg merge
- 7h 11m
- Merged PRs (30d)
- 37
Description
https://json-schema.org/understanding-json-schema/reference/regular_expressions
mentions to use only common/standard regex features
this means, to not use any modifiers
- non-capturing groups `(?:foo)`
- and any other modifiers - https://www.regular-expressions.info/refmodifiers.html
things to fix:
- https://github.com/CycloneDX/specification/blob/2a860677bc58cc9accd7c8810eee1b4f29ce3343/schema/2.0/model/cyclonedx-common-2.0.schema.json#L139
- to be continued
## tooling
have a QA tool that asserts that only those common/standard regex patterns are used
Contributor guide
Assessment
This issue has not been assessed yet.