cvs: qaweb / expectf_details.php
| From: | Zoe Slattery | Date: | Tue, 03 Mar 2009 10:58:45 +0000 |
| Subject: | cvs: qaweb / expectf_details.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-64701@lists.php.net to get a copy of this message | ||
zoe Tue Mar 3 10:58:45 2009 UTC
Modified files:
/qaweb expectf_details.php
Log:
doc for %r section in EXPECTF
http://cvs.php.net/viewvc.cgi/qaweb/expectf_details.php?r1=1.2&r2=1.3&diff_format=u
Index: qaweb/expectf_details.php
diff -u qaweb/expectf_details.php:1.2 qaweb/expectf_details.php:1.3
--- qaweb/expectf_details.php:1.2 Mon Jan 12 19:48:46 2009
+++ qaweb/expectf_details.php Tue Mar 3 10:58:45 2009
@@ -3,7 +3,7 @@
$TITLE = "Writing Tests [PHP-QAT: Quality Assurance Team]";
$SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__));
-/* $Id: expectf_details.php,v 1.2 2009/01/12 19:48:46 zoe Exp $ */
+/* $Id: expectf_details.php,v 1.3 2009/03/03 10:58:45 zoe Exp $ */
common_header();
?>
@@ -77,6 +77,10 @@
<td> A single character of any sort (.) </td>
</tr>
<tr>
+ <td> %r...$r</td>
+ <td> Any string (...) enclosed between two %r will be treated as a regular expression
</td>
+</tr>
+<tr>
<td> %unicode|string% </td>
<td> Matches the string 'unicode' in PHP6 test output and 'string' in
PHP5 test output. </td>
</tr>