add regex extension skeleton