preg interpretation question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can someone interpret this preg string for me?

/[^a-z0-9\\/\\\\_.:-]/i

Here is what I can decipher. the match is case insensitive, and it excludes all letters, and numbers, and the characters _ . : and - (that is underscore, period, colon, and dash). The part I don't understand is \\/\\\\. Sees to me to say backslash, slash, backslash, backslash. Why the need for so many backslashes?

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux