Skip to content

Commit 04e48c8

Browse files
rodrigoprimojrfnl
andauthored
Update WordPress/Docs/PHP/PregQuoteDelimiterStandard.xml
Co-authored-by: Juliette <[email protected]>
1 parent c188c1a commit 04e48c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WordPress/Docs/PHP/PregQuoteDelimiterStandard.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ preg_match(
2121
</code>
2222
<code title="Invalid: The delimiter parameter is missing.">
2323
<![CDATA[
24+
// $input = 'my #1 fan!';
2425
$quoted_input = preg_quote( $input<em></em> );
2526
preg_match(
2627
<em>'#^' . $quoted_input . '#i'</em>,

0 commit comments

Comments
 (0)