Lines Matching refs:regexp
995 function internalMatch(string, regexp, message, fn) {
996 if (!isRegExp(regexp)) {
998 'regexp', 'RegExp', regexp,
1003 RegExpPrototypeExec(regexp, string) !== null !== match) {
1017 `${inspect(regexp)}. Input:\n\n${inspect(string)}\n`);
1020 expected: regexp,
1033 * @param {RegExp} regexp
1037 assert.match = function match(string, regexp, message) {
1038 internalMatch(string, regexp, message, match);
1044 * @param {RegExp} regexp
1048 assert.doesNotMatch = function doesNotMatch(string, regexp, message) {
1049 internalMatch(string, regexp, message, doesNotMatch);