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>
Please register or sign in to comment