Re: [PHP4BETA] Wildcards in php?
| From: | Lars Torben Wilson | Date: | Thu, 02 Dec 1999 03:36:41 +0000 |
| Subject: | Re: [PHP4BETA] Wildcards in php? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-7223@lists.php.net to get a copy of this message | ||
Matt Greene writes:
> Do wildcards exist in php or not?
> If so how are they used?
If you're asking about matching strings with wildcards, then yes, they
do. Check out the manual entries on the regular expression functions;
there are a pile of them:
http://www.php.net/manual/ref.pcre.php3
http://www.php.net/manual/ref.regex.php3
Also check out the syntax explanation (in manpage format) in the file
regex/regex.7 in the PHP distribution. You will probably need to
format it to view it: in Linux, this can usually be done with
something like:
% man ./regex.7
Torben