note 114010 deleted from regexp.reference.delimiters by salathe
| From: | salathe@php.net | Date: | Tue, 21 Oct 2014 12:31:21 +0000 |
| Subject: | note 114010 deleted from regexp.reference.delimiters by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-200701@lists.php.net to get a copy of this message | ||
Note Submitter: Yousef Ismaeil Cliprz
----
You can use (`)
<?php
$str = 'php';
if (preg_match('
^php$i',$str)) {
// Outputs
}
?>