We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8109567 commit 25f8c95Copy full SHA for 25f8c95
reference/pcre/pattern.modifiers.xml
@@ -174,6 +174,18 @@
174
</simpara>
175
</listitem>
176
</varlistentry>
177
+ <varlistentry>
178
+ <term><emphasis>n</emphasis> (<literal>PCRE_NO_AUTO_CAPTURE</literal>)</term>
179
+ <listitem>
180
+ <simpara>
181
+ This modifier makes simple <code>(xyz)</code> groups non-capturing.
182
+ Only named groups like <code>(?<name>xyz)</code> are capturing.
183
+ This only affects which groups are capturing, it is still possible to
184
+ use numbered subpattern references, and the matches array will still
185
+ contain numbered results.
186
+ </simpara>
187
+ </listitem>
188
+ </varlistentry>
189
</variablelist>
190
</blockquote>
191
</para>
0 commit comments