Skip to content

Commit 31be694

Browse files
committed
GitHub actions: spelling: ignore generic hex number patterns
Fix the spelling CI complaints about "0xea01". Signed-off-by: Martin Wilck <mwilck@suse.com> (cherry picked from commit 7ef482e)
1 parent 34c597f commit 31be694

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/actions/spelling/patterns.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
#commit
1111
\b[0-9a-f]{7}\b
1212

13+
# Generic Hex numbers
14+
\b0x[0-9a-f]{4}\b
15+
\b0x[0-9a-f]{8}\b
16+
\b0x[0-9a-f]{16}\b
17+
1318
# WWNN/WWPN (NAA identifiers)
1419
\b(?:0x)?10[0-9a-f]{14}\b
1520
\b(?:0x|3)?[25][0-9a-f]{15}\b

0 commit comments

Comments
 (0)