add $equal to RegExp and Date