diff --git a/php.md b/php.md index 1954214..886937f 100644 --- a/php.md +++ b/php.md @@ -989,7 +989,7 @@ See also: [Nullsafe Operator](https://wiki.php.net/rfc/nullsafe_operator) ### Regular expressions ```php $str = "Visit Quickref.me"; -echo preg_match(/me/i, $str); # => 1 +echo preg_match("/qu/i", $str); # => 1 ``` See: [Regex in PHP](/regex#regex-in-php)