Skip to content

Commit

Permalink
allow trailing slash to IPR link (#1841)
Browse files Browse the repository at this point in the history
  • Loading branch information
deniak committed Jun 14, 2024
1 parent 50a67e0 commit 71dc30d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/sotd/pp.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export async function check(sr, done) {
return;
}
if (
/^https:\/\/www\.w3\.org\/(groups\/[^/]+\/[^/]+\/ipr|2004\/01\/pp-impl\/\d+\/status)(#.*)?$/.test(
/^https:\/\/www\.w3\.org\/(groups\/[^/]+\/[^/]+\/ipr\/?|2004\/01\/pp-impl\/\d+\/status)(#.*)?$/.test(
href
) &&
/public list of any patent disclosures( \(.+\))?/.test(text) &&
Expand Down

0 comments on commit 71dc30d

Please sign in to comment.