def _delete_regexps_from(selector):
rx_selector = {}
for how, what in copy(selector).items():
if not isinstance(what, re._pattern_type):
continue
rx_selector[how] = what
selector.pop(how)
return rx_selector