Skip to content

Commit

Permalink
fixes spaced_hex pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
huettenhain committed Nov 18, 2024
1 parent 9183c58 commit 0713566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion refinery/lib/patterns/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ class formats(PatternEnum):
"Hexadecimal strings"
uppercase_hex = alphabet(R'[0-9A-F]{2}')
"Uppercase hexadecimal strings"
spaced_hex = tokenize(R'[0-9a-fA-F]+', R'\s*')
spaced_hex = tokenize(R'[0-9a-fA-F]+', R'\s*', bound='')
"Hexadecimal strings"
spaced_b64 = alphabet(R'[-\s\w\+/]', postfix=R'(?:={0,3})?')
"Base64 encoded strings, separated by whitespace"
Expand Down

0 comments on commit 0713566

Please sign in to comment.