Regular expressions not working

I am unable to use regular expressions as field types. Here’s my schema. The RegExp for the discord_id seems to work, but not the one for shop.items.name or shop.items.description.