hyan23 / blog-comments

0 stars 0 forks source link

正则表达式笔记 | Hyan Lee #61

Open hyan23 opened 4 years ago

hyan23 commented 4 years ago

https://hyan23.org/2019/12/10/regex/

匹配中文: [\u4e00-\u9fa5] document.querySelectorAll('.github-emoji') .forEach(el => { if (!el.dataset.src) { return; } const img = document.createElement('img'