Make the regex used in urlpipe configurable