svn: /phpdoc/zh/trunk/reference/pcre/ pattern.syntax.xml

[email protected] (Dai Jie)
Newsgroups php.doc.zh
Message-ID <[email protected]>
daijie                                   Fri, 16 Nov 2018 15:42:43 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=345990

Log:
Fix #77167 [ZH] missing minus sign

Bug: https://bugs.php.net/77167 (Verified) [ZH] missing minus sign
      
Changed paths:
    U   phpdoc/zh/trunk/reference/pcre/pattern.syntax.xml

Modified: phpdoc/zh/trunk/reference/pcre/pattern.syntax.xml
===================================================================
--- phpdoc/zh/trunk/reference/pcre/pattern.syntax.xml	2018-11-16 15:21:24 UTC (rev 345989)
+++ phpdoc/zh/trunk/reference/pcre/pattern.syntax.xml	2018-11-16 15:42:43 UTC (rev 345990)
@@ -1497,7 +1497,7 @@
   <para>
   <literal>\g</literal> 转义序列紧跟一个负数代表一个相对的后向引用。比如:
   <literal>(foo)(bar)\g{-1}</literal> 可以匹配字符串 ”foobarbar”,
-  <literal>(foo)(bar)\g{2}</literal> 可以匹配 ”foobarfoo”。 这在长的模式中作为一个可选方案,
+  <literal>(foo)(bar)\g{-2}</literal> 可以匹配 ”foobarfoo”。 这在长的模式中作为一个可选方案,
   用来保持对之前一个特定子组的引用的子组序号的追踪。
   </para>
   <para>
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.