Re: regex operators
| From: | Andrei Zmievski | Date: | Thu, 16 Oct 2003 16:57:09 +0000 |
| Subject: | Re: regex operators | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4864@lists.php.net to get a copy of this message | ||
On Tue, 14 Oct 2003, Rasmus Lerdorf wrote:
> You are pushing towards
>
> $_~=/^\.*?\$$/;
Oh, but Rasmus, you don't even need $_ here.. Simply /^\.*?\$$/; will
do. My Perl kungfu increases every day.
- Andrei