Re: RegEx - Is this right?
| From: | Oliver Grätz | Date: | Sun, 16 Oct 2005 12:26:58 +0000 |
| Subject: | Re: RegEx - Is this right? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-224194@lists.php.net to get a copy of this message | ||
I don't know if these are equal.
What about \r\n line endings?
And what about \r line endings (from old Macs)?
I guess file() handles all of these cases (didn't test it though)
and your code doesn't (with \r you'll get a one line file!).
AllOlli