bharbron / hexbook-semantic

An Electron-React-Redux-Semantic-UI application for automatically generating a hexcrawl campaign notebook from random tables.
5 stars 3 forks source link

Update regexes to support all Latin characters #28

Open bharbron opened 6 years ago

bharbron commented 6 years ago

In src/constats/regex.js there are currently a bunch of validation regexes that do checking on A-Za-z. I'd actually like to be able to support the full Latin charset (i.e. accented characters) in these. Need to figure out the proper regex for doing so.

Note: There are 2 places we do not want to support accented characters. The CODE on tables and the name of tags. Those should continue to allow only A-Za-z