rasmus Sun, 19 Jul 2009 23:58:43 +0000
Revision:
http://svn.php.net/viewvc?view=revision&revision=284401Changed 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";
--
PHP Italian Documentation Mailing List (
http://php.net/manual/it/)
To unsubscribe, visit:
http://www.php.net/unsub.php