pub fn preg_match_bare(
pattern: &[u8],
subject: &[u8],
) -> Result<Preg<Value>, ArgumentError>Expand description
preg_match($pattern, $subject): preg_match() without $matches.
PHP then treats an empty match like the next match of
preg_match_all(): it retries at the same position with
PCRE2_NOTEMPTY_ATSTART | PCRE2_ANCHORED, and an error there (a limit)
makes the result false. Passing flags: or offset: by name gives
preg_match() a $matches to fill, so that is preg_match.