I see it's better don't use long case statement, is there good way to do 
refactor on case statement with regular expression?

-- 
Posted via http://www.ruby-forum.com/.