Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b702693

Browse files
committed
Fix USB-C Regex
1 parent 829544e commit b702693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎scripts/validation/rules/rules-trademarks.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
errorMessage: The LoRa® / LoRaWAN® trademark is not used correctly.
1616

1717
# USB-C® / USB Type-C® / USB4® rule
18-
- regex: "(?<!http[s]?:\\/\\/\\S*)(?:USB-C|USB Type[ -]C|USB4)(?!®)\\b"
18+
- regex: "(?<!http[s]?:\\/\\/\\S*)(?:USB[ -]C|USB Type[ -]C|USB4)(?!®)\\b"
1919
regexModifiers: "gi"
2020
shouldMatch: false
2121
includeCodeBlocks: false

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /