Skip to content

Commit 0713566

Browse files
committed
fixes spaced_hex pattern
1 parent 9183c58 commit 0713566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

refinery/lib/patterns/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ class formats(PatternEnum):
343343
"Hexadecimal strings"
344344
uppercase_hex = alphabet(R'[0-9A-F]{2}')
345345
"Uppercase hexadecimal strings"
346-
spaced_hex = tokenize(R'[0-9a-fA-F]+', R'\s*')
346+
spaced_hex = tokenize(R'[0-9a-fA-F]+', R'\s*', bound='')
347347
"Hexadecimal strings"
348348
spaced_b64 = alphabet(R'[-\s\w\+/]', postfix=R'(?:={0,3})?')
349349
"Base64 encoded strings, separated by whitespace"

0 commit comments

Comments
 (0)