aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorXu Cheng2016-07-13 18:28:40 +0800
committerXu Cheng2016-07-13 19:11:47 +0800
commit12c505c093523089710930ac2f393dcb2ac1ca6d (patch)
treecebfe0ac58270da4523033b230c5e69e1e8651d4 /Library/Homebrew/dev-cmd
parentde1049f1f1237a31f8ac6a0b9b31ebdbc78030d4 (diff)
downloadbrew-12c505c093523089710930ac2f393dcb2ac1ca6d.tar.bz2
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>
Diffstat (limited to 'Library/Homebrew/dev-cmd')
0 files changed, 0 insertions, 0 deletions