. .

    @Mail.ru -

PHP

» PHP 5 » PHP

, . . , php 3 5. .

, . :

[0-9] - ;
[a-z] - ;
[A-Z] - ;
[a-zA-Z] - ;
[abc] - a, b .

:

php[3-5] - php3, php4 php5;
[0-9][a-z] - ;
^[0-5][0-9]$ - ( 00 59).

. ^ , 0 5, . $ , .

, ^ . , , .

:

[^0-9] - ;
^[^a-zA-Z] - , ;
[^aAeEiIoOuU] - .

POSIX (. 17.1).

17.1. .

[[:alnum:]]
[[:alpha:]] ([a-zA-Z])
[[:blank:]] 0 255
[[:digit:]] ([0-9])
[[:lower:]] ([az])
[[:upper:]] ([A-Z])
[[:upper:]] ([A-Z])
[[:upper:]] ([A-Z])
[[:punct:]]
[[:space:]]
[[:xdigit:]] ([0-9a-fA-F])