mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 19:40:23 +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:
@@ -20,8 +20,8 @@ abstract class type_string_common extends type_base
|
|||||||
'NUMBERS_ONLY' => '[0-9]+',
|
'NUMBERS_ONLY' => '[0-9]+',
|
||||||
'ALPHA_ONLY' => '[\w]+',
|
'ALPHA_ONLY' => '[\w]+',
|
||||||
'ALPHA_UNDERSCORE' => '[\w_]+',
|
'ALPHA_UNDERSCORE' => '[\w_]+',
|
||||||
'ALPHA_SPACERS' => '[\w_\+\. \-\[\]]+',
|
|
||||||
'ALPHA_DOTS' => '[\w.]+',
|
'ALPHA_DOTS' => '[\w.]+',
|
||||||
|
'ALPHA_SPACERS' => '[\w_\+\. \-\[\]]+',
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user