体验新版 GitCode,发现更多精彩内容 >>
there's no reason to to_sym the string if it doesn't match the regexp anyway