Remix.run Logo
Waterluvian 4 days ago

Can a regular expression be used to restrict Unicode chars like the ones described?

I’m imagining a listing of regex rules for the various gotchas, and then a validation-level use that unions the ones you want.

fluoridation 3 days ago | parent [-]

Why would you need a regular expression for that? It's just a list of characters.

Waterluvian 3 days ago | parent [-]

There’s cases where certain characters coming before or after others is what creates the issue.