Solución
solution.tsTypeScript
export function regexMatch(text: string, pattern: string): boolean {
// Escribe tu solución aquí
const regex = new RegExp(pattern);
const match = text.match(regex);
console.log({match})
return match.includes(text);
}0respuestas