revert to old ruby regex