Question
Package Manager filter regex rules?
I have a project where we have several country websites (20 countries). I'd like to create a package in Package Manager that only grabs each country homepage and not the underlying content. So, for example, homepage content would be located under /content/project/en_us/global/aus/jcr:content
Here's the content setup:
/content/project/en_us/global/aus
...more content and directories under aus...
/content/project/en_us/global/aut
...more content and directories under aut...
/content/project/en_us/global/bel
...more content and directories under bel...
I've tried these two filter rulesets in Package Manager and none seem to work:
/content/project/en_us/global
exclude: .*
include: .*/[a-z][a-z][a-z]/jcr:content
/content/project/en_us/global
exclude: .*
include: .*/[a-z][a-z][a-z]/jcr:content
/content/project/en_us/global
exclude: .*
include: /content/project/en_us/global/[a-z][a-z][a-z]/jcr:content
exclude: .*
include: /content/project/en_us/global/[a-z][a-z][a-z]/jcr:content
Is there a way to regex this? I'd prefer not having to update every time we add another country. Thanks in advance!