Skip to content

Fix POSIX ERE in SPDX License List matching guidelines - #1449

Merged
bact merged 5 commits into
spdx:developfrom
bact:fix-license-matching
Aug 4, 2026
Merged

Fix POSIX ERE in SPDX License List matching guidelines#1449
bact merged 5 commits into
spdx:developfrom
bact:fix-license-matching

Conversation

@bact

@bact bact commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

To address two points in #1419

  • "'and is composed of 4 fields' - only 2 required"
  • "Example (?i:copyright.{0,200}). is not POSIX ERE"

The original and match rule fields are only required for a rule type: <<var; . . . >>.

(?i) is not a POSIX ERE expression, use [Cc] instead.
Note that the new match="[Cc]opyright.{0,200}." is not equivalent to match="(?i:copyright.{0,200}).", but sufficient enough to demonstrate the point that the match field can use a regular expression.

To address "'and is composed of 4 fields' - only 2 required" and "Example (?i:copyright.{0,200}). is not POSIX ERE" points in spdx#1419

Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact bact added typo Typos, minor spelling errors, or minor incorrect word usage annex labels Jul 21, 2026
@bact bact changed the title Update license-matching-guidelines-and-templates.md Fix POSIX ERE in SPDX License List matching guidelines Jul 21, 2026
@bact bact added this to the 3.1-rc2 milestone Jul 21, 2026
@bact
bact requested a review from zvr July 21, 2026 21:17
@bact

bact commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author

Will merge this editorial fix with one approval after 10 days period.

@bact
bact merged commit 835e8b3 into spdx:develop Aug 4, 2026
4 checks passed
@bact
bact deleted the fix-license-matching branch August 4, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

annex typo Typos, minor spelling errors, or minor incorrect word usage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants