Open hyan23 opened 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'
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'