pub const FILTER_VALIDATE_REGEXP: i64 = 0x0110;
Validates against the regexp option, as PHP’s FILTER_VALIDATE_REGEXP.
regexp
FILTER_VALIDATE_REGEXP