fix cookie regex