BUPKIS
    Preparing search index...

    Variable stringMatchesAssertionConst

    stringMatchesAssertion: AssertionFunctionSync<
        readonly [ZodString, "to match", ZodCustom<RegExp, RegExp>],
        (subject: string, regex: RegExp) => boolean,
        readonly [
            ZodString,
            PhraseLiteralSlot<"to match">,
            ZodCustom<RegExp, RegExp>,
        ],
    > = ...

    Assertion for testing if a string matches a regular expression.

    expect('hello123', 'to match', /\d+/); // passes
    expect('hello', 'to match', /\d+/); // fails