Uncaught SyntaxError: Invalid regular expression: /^(?:[-()\/a-zA-Z0-9ã‚: Range out of order in char

错误:Uncaught SyntaxError: Invalid regular expression:/^(?:[-()\/a-zA-Z0-9ã‚¡-ヺー-ヾヲ-゚ーï¼-9A-Zï½-zã-ã‚–ã‚™-ゞー々ã-ã‚“ã‚¡-ヾ一-\u9FEFã€-䶵﨎ï¨ï¨‘﨓﨔﨟﨡﨣﨤﨧-﨩]|[\ud840-\ud868][\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|[\ud86a-\ud86c][\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d])+/: Range out of order in character class

 

试一下把加入到你标签内,错误可能是因为浏览器没有能识别正则中的UTF-8字符。

你可能感兴趣的:(Uncaught SyntaxError: Invalid regular expression: /^(?:[-()\/a-zA-Z0-9ã‚: Range out of order in char)