Skip to content

Commit a919ab1

Browse files
committed
Removed unnecessary hyphen in character class
1 parent cb96b4f commit a919ab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jwt/patterns.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ patterns:
77
description: "JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties."
88
regex:
99
pattern: |
10-
e(?:y[I-J]|yL[CD]|yA[JKgi]|w[koA][JKgi])[A-Za-z0-9_-]{10,}(?:[0-59JKdgilsw-z]fQ|[3HXn]0|[1BJVlpx]9)={0,2}\.e(?:y[I-J]|yL[CD]|yA[JKgi]|w[koA][JKgi])[A-Za-z0-9_-]{10,}(?:[0-59JKdgilsw-z]fQ|[3HXn]0|[1BJVlpx]9)={0,2}\.?[A-Za-z0-9_-]*={0,2}
10+
e(?:y[IJ]|yL[CD]|yA[JKgi]|w[koA][JKgi])[A-Za-z0-9_-]{10,}(?:[0-59JKdgilsw-z]fQ|[3HXn]0|[1BJVlpx]9)={0,2}\.e(?:y[IJ]|yL[CD]|yA[JKgi]|w[koA][JKgi])[A-Za-z0-9_-]{10,}(?:[0-59JKdgilsw-z]fQ|[3HXn]0|[1BJVlpx]9)={0,2}\.?[A-Za-z0-9_-]*={0,2}
1111
start: |
1212
[^0-9A-Za-z_.-]|\A
1313
end: |

0 commit comments

Comments
 (0)