min regex function
fix combinator