validate.js
validate.js copied to clipboard
use xregexp to handle unicode alphabet
Javascript RexExp doesn't handle unicode characters well - it doesn't contain 'Letter' unicode category. This PR solves it, now you can use '^//pL+$' to accept only unicode letters.