isolate regex package