svn: phpdoc/ de/trunk/reference/pcre/functions/preg-match-all.xml en/trunk/reference/pcre/functions/preg-match-all.xml es/trunk/reference/pcre/functions/preg-match-all.xml fr/trunk/reference/pcre/functions/preg-match-all.xml hu/trunk/reference/pcre/functions/preg-match-all.xml it/trunk/reference/pcre/functions/preg-match-all.xml ja/trunk/reference/pcre/functions/preg-match-all.xml kr/trunk/reference/pcre/functions/preg-match-all.xml ru/trunk/reference/pcre/functions/preg-match-all.xml tr/trunk/reference/pcre/functions/preg-match-all.xml zh/trunk/reference/pcre/functions/preg-match-all.xml
[email protected] (Rasmus Lerdorf) Sun, 19 Jul 09 23:58:43 +0000
| Newsgroups | php.doc.de,php.doc.es,php.doc.fr,php.doc.hu,php.doc.it,php.doc.ja,php.doc.kr,php.doc.ru,php.doc.tr,php.doc.zh,php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
rasmus Sun, 19 Jul 2009 23:58:43 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=284401
Changed paths:
U phpdoc/de/trunk/reference/pcre/functions/preg-match-all.xml
U phpdoc/en/trunk/reference/pcre/functions/preg-match-all.xml
U phpdoc/es/trunk/reference/pcre/functions/preg-match-all.xml
U phpdoc/fr/trunk/reference/pcre/functions/preg-match-all.xml
U phpdoc/hu/trunk/reference/pcre/functions/preg-match-all.xml
U phpdoc/it/trunk/reference/pcre/functions/preg-match-all.xml
U phpdoc/ja/trunk/reference/pcre/functions/preg-match-all.xml
U phpdoc/kr/trunk/reference/pcre/functions/preg-match-all.xml
U phpdoc/ru/trunk/reference/pcre/functions/preg-match-all.xml
U phpdoc/tr/trunk/reference/pcre/functions/preg-match-all.xml
U phpdoc/zh/trunk/reference/pcre/functions/preg-match-all.xml
Log:
Fixed bug #48806
Bug: http://bugs.php.net/48806 (Open) Typo on preg_match_all manual page
Modified: phpdoc/de/trunk/reference/pcre/functions/preg-match-all.xml
===================================================================
--- phpdoc/de/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:48:04 UTC (rev 284400)
+++ phpdoc/de/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:58:43 UTC (rev 284401)
@@ -248,7 +248,7 @@
// benötigt.
$html = "<b>fett gedruckter Text</b><a href=howdy.html>klick mich an</a>";
-preg_match_all("/(<([\w]+)[^>]*>)(.*)(<\/\\2>)/", $html, $treffer, PREG_SET_ORDER);
+preg_match_all("/(<([\w]+)[^>]*>)(.*?)(<\/\\2>)/", $html, $treffer, PREG_SET_ORDER);
foreach ($treffer as $wert) {
echo "gefunden: " . $wert[0] . "\n";
Modified: phpdoc/en/trunk/reference/pcre/functions/preg-match-all.xml
===================================================================
--- phpdoc/en/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:48:04 UTC (rev 284400)
+++ phpdoc/en/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:58:43 UTC (rev 284401)
@@ -242,7 +242,7 @@
// required because the string is in double quotes.
$html = "<b>bold text</b><a href=howdy.html>click me</a>";
-preg_match_all("/(<([\w]+)[^>]*>)(.*)(<\/\\2>)/", $html, $matches, PREG_SET_ORDER);
+preg_match_all("/(<([\w]+)[^>]*>)(.*?)(<\/\\2>)/", $html, $matches, PREG_SET_ORDER);
foreach ($matches as $val) {
echo "matched: " . $val[0] . "\n";
Modified: phpdoc/es/trunk/reference/pcre/functions/preg-match-all.xml
===================================================================
--- phpdoc/es/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:48:04 UTC (rev 284400)
+++ phpdoc/es/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:58:43 UTC (rev 284401)
@@ -255,7 +255,7 @@
// dobles.
$html = "<b>texto en negrilla</b><a href=hola.html>haga clic aquÃ</a>";
-preg_match_all("/(<([\w]+)[^>]*>)(.*)(<\/\\2>)/", $html, $coincidencias, PREG_SET_ORDER);
+preg_match_all("/(<([\w]+)[^>]*>)(.*?)(<\/\\2>)/", $html, $coincidencias, PREG_SET_ORDER);
foreach ($coincidencias as $val) {
echo "coincidencia: " . $val[0] . "\n";
Modified: phpdoc/fr/trunk/reference/pcre/functions/preg-match-all.xml
===================================================================
--- phpdoc/fr/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:48:04 UTC (rev 284400)
+++ phpdoc/fr/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:58:43 UTC (rev 284401)
@@ -254,7 +254,7 @@
$html = "<b>texte en gras</b><a href=howdy.html>cliquez moi</a>";
-preg_match_all("/(<([\w]+)[^>]*>)(.*)(<\/\\2>)/", $html, $matches, PREG_SET_ORDER);
+preg_match_all("/(<([\w]+)[^>]*>)(.*?)(<\/\\2>)/", $html, $matches, PREG_SET_ORDER);
foreach ($matches as $val) {
echo "matched: " . $val[0] . "\n";
@@ -380,4 +380,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
Modified: phpdoc/hu/trunk/reference/pcre/functions/preg-match-all.xml
===================================================================
--- phpdoc/hu/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:48:04 UTC (rev 284400)
+++ phpdoc/hu/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:58:43 UTC (rev 284401)
@@ -147,7 +147,7 @@
// macskakörmök ("") közé van fogva.
$html = "<b>félkövér szöveg</b><a href=howdy.html>kattints ide</a>
-preg_match_all ("/(<([\w]+)[^<]*>)(.*)(<\/\\2>)/", $html,
+preg_match_all ("/(<([\w]+)[^<]*>)(.*?)(<\/\\2>)/", $html,
$matches);
for ($i=0; $i < count($matches[0]); $i++) {
Modified: phpdoc/it/trunk/reference/pcre/functions/preg-match-all.xml
===================================================================
--- phpdoc/it/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:48:04 UTC (rev 284400)
+++ phpdoc/it/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:58:43 UTC (rev 284401)
@@ -175,7 +175,7 @@
// dei doppi apici.
$html = "<b>bold text</b><a href=howdy.html>click me</a>";
-preg_match_all("/(<([\w]+)[^>]*>)(.*)(<\/\\2>)/", $html, $matches);
+preg_match_all("/(<([\w]+)[^>]*>)(.*?)(<\/\\2>)/", $html, $matches);
for ($i=0; $i< count($matches[0]); $i++) {
echo "intero criterio: ".$matches[0][$i]."\n";
Modified: phpdoc/ja/trunk/reference/pcre/functions/preg-match-all.xml
===================================================================
--- phpdoc/ja/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:48:04 UTC (rev 284400)
+++ phpdoc/ja/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:58:43 UTC (rev 284401)
@@ -245,7 +245,7 @@
// æ¬ããã¦ãããããããã¯ã¹ã©ãã·ã¥ã®è¿½å ãå¿
è¦ã
$html = "<b>bold text</b><a href=howdy.html>click me</a>";
-preg_match_all("/(<([\w]+)[^>]*>)(.*)(<\/\\2>)/", $html, $matches, PREG_SET_ORDER);
+preg_match_all("/(<([\w]+)[^>]*>)(.*?)(<\/\\2>)/", $html, $matches, PREG_SET_ORDER);
foreach ($matches as $val) {
echo "matched: " . $val[0] . "\n";
Modified: phpdoc/kr/trunk/reference/pcre/functions/preg-match-all.xml
===================================================================
--- phpdoc/kr/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:48:04 UTC (rev 284400)
+++ phpdoc/kr/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:58:43 UTC (rev 284401)
@@ -236,7 +236,7 @@
// 문ìì´ì´ ëë¸ ì¿¼í°(")ìì ìì ê²½ì°ìë ë°±ì¬ëìê° íë ë íìí©ëë¤.
$html = "<b>bold text</b><a href=howdy.html>click me</a>";
-preg_match_all("/(<([\w]+)[^>]*>)(.*)(<\/\\2>)/", $html, $matches);
+preg_match_all("/(<([\w]+)[^>]*>)(.*?)(<\/\\2>)/", $html, $matches);
foreach ($matches as $val) {
echo "matched: " . $val[0] . "\n";
Modified: phpdoc/ru/trunk/reference/pcre/functions/preg-match-all.xml
===================================================================
--- phpdoc/ru/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:48:04 UTC (rev 284400)
+++ phpdoc/ru/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:58:43 UTC (rev 284401)
@@ -173,7 +173,7 @@
$html = "<b>bold text</b><a href=howdy.html>click me</a>";
-preg_match_all("/(<([\w]+)[^>]*>)(.*)(<\/\\2>)/", $html, $matches);
+preg_match_all("/(<([\w]+)[^>]*>)(.*?)(<\/\\2>)/", $html, $matches);
for ($i=0; $i< count($matches[0]); $i++) {
echo "matched: " . $matches[0][$i] . "\n";
Modified: phpdoc/tr/trunk/reference/pcre/functions/preg-match-all.xml
===================================================================
--- phpdoc/tr/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:48:04 UTC (rev 284400)
+++ phpdoc/tr/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:58:43 UTC (rev 284401)
@@ -241,7 +241,7 @@
// Dizge çift tırnak içine alınmıŠolduÄundan çift tersbölü kullanılmıÅtır.
$html = "<b>VurgulanmıŠmetin</b><a href=howdy.html>buraya tıklayın</a>";
-preg_match_all("/(<([\w]+)[^>]*>)(.*)(<\/\\2>)/", $html, $eÅleÅenler, PREG_SET_ORDER);
+preg_match_all("/(<([\w]+)[^>]*>)(.*?)(<\/\\2>)/", $html, $eÅleÅenler, PREG_SET_ORDER);
foreach ($eÅleÅenler as $eÅleÅen) {
echo " eÅleÅen: " . $eÅleÅen[0] . "\n";
Modified: phpdoc/zh/trunk/reference/pcre/functions/preg-match-all.xml
===================================================================
--- phpdoc/zh/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:48:04 UTC (rev 284400)
+++ phpdoc/zh/trunk/reference/pcre/functions/preg-match-all.xml 2009-07-19 23:58:43 UTC (rev 284401)
@@ -147,7 +147,7 @@
// ¶à¼ÓÒ»¸ö·´Ð±Ïß¡£
$html = "<b>bold text</b><a href=howdy.html>click me</a>";
-preg_match_all ("/(<([\w]+)[^>]*>)(.*)(<\/\\2>)/", $html, $matches);
+preg_match_all ("/(<([\w]+)[^>]*>)(.*?)(<\/\\2>)/", $html, $matches);
for ($i=0; $i< count($matches[0]); $i++) {
echo "matched: ".$matches[0][$i]."\n";