added regex syntax warnings