1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-20 15:53:14 +02:00

[ticket/12729] Move ALPHA_DOTS to above ALPHA_SPACERS

Have easier matches first for better performance

PHPBB3-12729
This commit is contained in:
Shitiz Garg 2014-06-20 14:34:46 +05:30
parent 2ba12a17b2
commit 5701a4658c

View File

@ -20,8 +20,8 @@ abstract class type_string_common extends type_base
'NUMBERS_ONLY' => '[0-9]+',
'ALPHA_ONLY' => '[\w]+',
'ALPHA_UNDERSCORE' => '[\w_]+',
'ALPHA_SPACERS' => '[\w_\+\. \-\[\]]+',
'ALPHA_DOTS' => '[\w.]+',
'ALPHA_SPACERS' => '[\w_\+\. \-\[\]]+',
);
/**