diff options
author | Shitiz Garg <mail@dragooon.net> | 2014-06-20 14:34:46 +0530 |
---|---|---|
committer | Shitiz Garg <mail@dragooon.net> | 2014-06-20 18:10:08 +0530 |
commit | 5701a4658cfb293d15a3027d9704f335904a4d0c (patch) | |
tree | 5b7a777a1755d1f2dbc74957b3e2b594e6fe14bf /phpBB/phpbb/profilefields | |
parent | 2ba12a17b2b9325cfa6419d648f13ed744c3b24e (diff) | |
download | forums-5701a4658cfb293d15a3027d9704f335904a4d0c.tar forums-5701a4658cfb293d15a3027d9704f335904a4d0c.tar.gz forums-5701a4658cfb293d15a3027d9704f335904a4d0c.tar.bz2 forums-5701a4658cfb293d15a3027d9704f335904a4d0c.tar.xz forums-5701a4658cfb293d15a3027d9704f335904a4d0c.zip |
[ticket/12729] Move ALPHA_DOTS to above ALPHA_SPACERS
Have easier matches first for better performance
PHPBB3-12729
Diffstat (limited to 'phpBB/phpbb/profilefields')
-rw-r--r-- | phpBB/phpbb/profilefields/type/type_string_common.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/profilefields/type/type_string_common.php b/phpBB/phpbb/profilefields/type/type_string_common.php index 014950c15f..91198deec0 100644 --- a/phpBB/phpbb/profilefields/type/type_string_common.php +++ b/phpBB/phpbb/profilefields/type/type_string_common.php @@ -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_\+\. \-\[\]]+', ); /** |