com web/qa: %i also matches integers without sign: phpt_detai ls.php

Christoph Michael Becker <[email protected]>
Newsgroups gmane.comp.php.quality-assurance
Message-ID <[email protected]>
Commit:    47acc3ff0405c81249c407edf0e35269859acb83
Author:    Christoph M. Becker <[email protected]>         Wed, 3 Jun 2020 10:37:02 +0200
Parents:   91e5e833a1a59a3636df8f90e14e325af9219482
Branches:  master

Link:       http://git.php.net/?p=web/qa.git;a=commitdiff;h=47acc3ff0405c81249c407edf0e35269859acb83

Log:
%i also matches integers without sign

Changed paths:
  M  phpt_details.php


Diff:
diff --git a/phpt_details.php b/phpt_details.php
index de1cbaa..9066bc2 100644
--- a/phpt_details.php
+++ b/phpt_details.php
@@ -755,7 +755,7 @@ when run on different platforms.</p>
 <li>%A: Zero or more of anything (character or white space) including the end of line
   character.</li>
 <li>%w: Zero or more white space characters.</li>
-<li>%i: A signed integer value, for example +3142, -3142.</li>
+<li>%i: A signed integer value, for example +3142, -3142, 3142.</li>
 <li>%d: An unsigned integer value, for example 123456.</li>
 <li>%x: One or more hexadecimal character. That is, characters in the range 0-9, a-f,
   A-F.</li>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.