Fixed error in regular expression section

This commit is contained in:
Randy8080 committed 2021-01-06 20:04:29 +08:00
1 parent dccbb86f76
commit 4e8bbc0470
1 file changed
+1 -1
+1 -1
View File
@@ -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)