Given these folder names:
locales/DE/en
locales/FR/en
locales/US/en
locales/US/fr
public
test
[...]
I want to match everything EXCEPT the first 2 patterns. There are other folders in the root, and other subfolders in the locales
folder. I really want to just exclude everything in locales/*
EXCEPT locales/US
This works for locales
but fails to include the other root folders.
/(locales)\/(US)/
Any thoughts?