Xu Cheng 12c505c093
audit: avoid unnecessary regex
Regex is way slower than normal String#include? and String#start_with?.
Also, we often forget to proper escape them. So avoid using them if it
is not necessary.

Closes #503.

Signed-off-by: Xu Cheng <xucheng@me.com>
2016-07-13 19:11:47 +08:00
..
2016-05-01 22:04:46 +08:00
2016-07-13 19:11:47 +08:00
2016-07-13 19:11:46 +08:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-05-08 16:51:22 +01:00
2016-07-13 19:11:46 +08:00
2016-06-11 01:26:28 -07:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-05-09 15:37:01 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-07-13 19:11:46 +08:00
2016-07-12 12:01:20 +01:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-06-11 01:26:28 -07:00
2016-07-11 21:12:56 +08:00