JSFiddle - React, Tailwind, and code Playground
by brigand
HTML
<pre id="out"></pre>
JavaScript
const matches = [..."a´π#!ぁ←"].map(c => c + ': ' + /[^\p{L}]/u.test(c))
out.textContent = matches.join('\n');
by brigand
<pre id="out"></pre>
const matches = [..."a´π#!ぁ←"].map(c => c + ': ' + /[^\p{L}]/u.test(c))
out.textContent = matches.join('\n');