regex as constant