Function parse_pattern

Source
fn parse_pattern(
    pattern: &str,
    is_start: bool,
) -> Result<Either<Vec<u8>, Regex>>