Re: Regex
| From: | David Harkness | Date: | Fri, 27 Jul 2012 17:40:46 +0000 |
| Subject: | Re: Regex | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318577@lists.php.net to get a copy of this message | ||
On Fri, Jul 27, 2012 at 10:16 AM, Ashley Sheridan
<ash@ashleysheridan.co.uk>wrote:
> "Simon Dániel" <simondani91@gmail.com> wrote:
>
> >#[0-9a-zA-Z,\.]#
>
> You should escape out that period as it will match any character otherwise
>
The dot only matches a period inside a character class [...].
David