Concrete Javascript Regex for Accented Characters (Diacritics)

后端 未结 9 1115
庸人自扰
庸人自扰 2020-11-22 17:22

I\'ve looked on Stack Overflow (replacing characters.. eh, how JavaScript doesn\'t follow the Unicode standard concerning RegExp, etc.) and haven\'t really found a concrete

9条回答
  •  清歌不尽
    2020-11-22 17:41

    The XRegExp library has a plugin named Unicode that helps solve tasks like this.

    
    
    
    

    It's mentioned in the comments to the question, but it's easy to miss. I've noticed it only after I submitted this answer.

提交回复
热议问题