maybe this never happens, but if the "an" argument is first or last, this wouldn't match. `/[&?]an=([^&#]*)/`