# Test Unicode Letter Matching in JavaScript Regex

https://ferkesh.net/uk/baza-znan/stattia/regex-unicode-letters-and-normalization

JavaScript Unicode property escapes can match letters across scripts. The ASCII range from A to Z covers far fewer characters. Neither alone defines a good policy for every human name or identity field.

![Synthetic cases: Accents and marks; Unicode pattern: Use the u flag; Policy check: Normalize where appropriate.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-16.svg#regex-unicode-letters-and-normalization)

## Create synthetic cases

Use an ASCII word, a word with é, a digit and a word with a combining accent. In Ferkesh Tools Regex Tester, compare the ASCII pattern with ^\p{L}+$ using the u flag. Check the displayed match result for each input.

## Compare equivalent text

An accented letter stored as one code point can match while a letter followed by a combining mark can fail a letter-only expression. Define whether NFC normalization or inclusion of appropriate marks belongs in the application. Test those decisions before using them.

## Write the actual business policy

Review spaces, apostrophes and other punctuation the field should accept. Use an approved local staging fixture and avoid customer names. Treat regex as input validation. Keep account access checks separate.

## Related Ferkesh Knowledge Base guides

- [Convert CSV With Quoted Fields to JSON Safely](https://ferkesh.net/knowledgebase/article/ferkesh-csv-json-quoted-fields)
- [How to Verify Text and Collation After a Database Restore](https://ferkesh.net/knowledgebase/article/verify-db-charset-after-restore)

## Ferkesh Tools

- [Regex Tester](https://tools.ferkesh.net/regex-tester/)

## Official references

- [Unicode property escapes – MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Unicode_character_class_escape)

Last reviewed November 27, 2026.
