dfs package:regex-tdfa

Apply a Pattern transformation function depth first.