[FIX] Support ruby 1.8 in routing regex