File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ final class UuidMatcher extends Matcher
18
18
/**
19
19
* @var string
20
20
*/
21
- public const UUID_PATTERN = '[\da-f]{8}-[\da-f]{4}-[1-6][ \da-f]{3 }-[89ab][ \da-f]{3 }-[\da-f]{12} ' ;
21
+ public const UUID_PATTERN = '[\da-f]{8}-[\da-f]{4}-[\da-f]{4 }-[\da-f]{4 }-[\da-f]{12} ' ;
22
22
23
23
/**
24
24
* @var string
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ public static function positiveMatchData()
30
30
['9f4db639-0e87-4367-9beb-d64e3f42ae18 ' , '@uuid@ ' ],
31
31
['1f2b1a18-81a0-5685-bca7-f23022ed7c7b ' , '@uuid@ ' ],
32
32
['1ebb5050-b028-616a-9180-0a00ac070060 ' , '@uuid@ ' ],
33
+ ['00000000-0000-0000-0000-000000000000 ' , '@uuid@ ' ],
33
34
];
34
35
}
35
36
@@ -53,7 +54,6 @@ public static function negativeMatchData()
53
54
['9f4db6390e8743679bebd64e3f42ae18 ' , '@uuid@ ' ],
54
55
['9f4db6390e87-4367-9beb-d64e-3f42ae18 ' , '@uuid@ ' ],
55
56
['9f4db639-0e87-4367-9beb-d64e3f42ae1g ' , '@uuid@ ' ],
56
- ['9f4db639-0e87-0367-9beb-d64e3f42ae18 ' , '@uuid@ ' ],
57
57
];
58
58
}
59
59
You can’t perform that action at this time.
0 commit comments