oasis-open / cti-pattern-validator

OASIS TC Open Repository: Validate patterns used to express cyber observable content in STIX Indicators
https://stix2-patterns.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
26 stars 23 forks source link

Remove PCRE Grammar #6

Closed gtback closed 7 years ago

gtback commented 7 years ago

It is more difficult to validate regex literals now that they no longer have a special syntax. It also creates the question of how far down the validation rabbit hole we want to go. Base64? Hex? IP addresses?

For now, we should keep the validator simple and remove special-purpose PCRE validation.

gtback commented 7 years ago

Fixed in 31f9ee5c07ba7edf1dcf03874fb6e1331ebd1c0c