Sebobo / Shel.Neos.WorkspaceModule

A workspace module alternative for Neos CMS
MIT License
17 stars 5 forks source link

Support Umlaut and other characters in Workspace names #37

Open Sebobo opened 7 months ago

Sebobo commented 7 months ago

The following regex should work according to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp?retiredLocale=de#regular_expression_and_unicode_characters but needs to be tested:

titlePattern: '^[A-Z][\p{L}\s\w\d\-\.\[\]\(\)_]+\b(?!\s)$'