pub fn regexp_instr(inputs: &[Box<dyn Value>]) -> Box<dyn Value>
Expand description
Return the position of the pattern in the input If the pattern compilation fails, it returns -1 If a match is found returns the position of the match’s start offset (adjusted by 1)