We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f9c196 commit 539331aCopy full SHA for 539331a
Zend/tests/offsets/test_offset_helpers.inc
@@ -85,7 +85,7 @@ function expectf_to_regex(string $wanted): string
85
'%d' => '\d+',
86
'%x' => '[0-9a-fA-F]+',
87
'%f' => '[+-]?(?:\d+|(?=\.\d))(?:\.\d+)?(?:[Ee][+-]?\d+)?',
88
- '%F' => '([+-]?(?:\d+|(?=\.\d))(?:\.\d+)?(?:[Ee][+-]?\d+)?)|(NAN)|(INF)',
+ '%F' => '([+-]?(?:\d+|(?=\.\d))(?:\.\d+)?(?:[Ee][+-]?\d+)?)|(NAN)|(INF)|([+-]?\d+)',
89
'%c' => '.',
90
'%0' => '\x00',
91
]);
0 commit comments