I want to use this pattern in my project
isCorrectCode(code) {
const codeRegex = new RegExp(/^(?! s)[p{L}/\|.,";:¿()@#$%^&*'`+-— ?!_{}()>=[]0-9]+$/, 'gu');
return codeRegex.test(code);
}
but I got the next issue
can anyone know how this can be fixed?