Add -r option to switch regexp library

I followed develop branch of Jubatus.