Models > uid and its Regex

System Information
  • Strapi Version: 4.4.6
  • Operating System: macOS
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

Hello Team!

Your docs here says docs reference that " The resulting uid must match the following regular expression pattern: /^[A-Za-z0-9-_.~]*$"

The problem with this we are unable to create an Arabic based slug.

Example:
صفحة-جديدة

You can check Wordpress for generating such automatic permalink out of any language and not based on transformation or mapping as slugify is doing.

The question is, can I change the “must” condition here and change the Regex should the resulting match?

+1 cannot create an arabic slug due to this regex.

Same issue here.
Strapi lacks a lot of support for Arabic.