improves regexp support from schema