From bfaad59af07f17903e0fb9b2952f0e4a90684466 Mon Sep 17 00:00:00 2001 From: Gabo Date: Tue, 23 Jun 2020 17:26:07 -0500 Subject: [PATCH] use non capturing group for hex regex --- .github/actions/spelling/patterns.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/spelling/patterns.txt b/.github/actions/spelling/patterns.txt index 9497a00e..5c595e9b 100644 --- a/.github/actions/spelling/patterns.txt +++ b/.github/actions/spelling/patterns.txt @@ -4,4 +4,4 @@ https?:\S* # Any CLI args (-xzf -aef) \ -\w+\b # Hex colors (dummy group to not be treated as comment) -(#)([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3}) +(?:#)([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})