added regex coreconstraints