getters for regex