Invalid regular expressión error with special chars on header

Invalid regular expressión error with special chars on header

anibolanibol Posts: 1Questions: 1Answers: 0

Hi, i'm getting this error:

Uncaught SyntaxError: Invalid regular expression: /(^|.)111).(?:.*.|)21(.|$)/: Unmatched ')'
at RegExp (<anonymous>)
at Object.remove (jquery.min.js:2)
at HTMLBodyElement.<anonymous> (jquery.min.js:2)
at Function.each (jquery.min.js:1)
at init.each (jquery.min.js:1)
at init.off (jquery.min.js:2)
at v (datatables.min.js:197)
at s.<anonymous> (datatables.min.js:209)
at s.iterator (datatables.min.js:112)
at s.<anonymous> (datatables.min.js:209)

I'm writing special chars on the header of the column of the table. But if i remove special chars and after pass a cleaner i wrote this:

<span class="vreq"><br>Conductivity38.0IACSUnsatisfactory<br>Conductivity40.0IACSandtensilepropertiesmeettheminimumvaluesspecifiedSatisfactory<br></span>

I get the same error

Any help? Thanks

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    Hi @anibol ,

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.