Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Filtering problem
MoReese
I am currently configuring a filelist deployment. Any entry int the filelist is:
templatedata/TL_Strattera/product_profile/data/formal_testing/test
I want to exclude this entry, so I add the following to my opendeploy config:
<filters>
<excludePattern regex="m#.*/formal_testing/.*#"/>
</filters>
This does not seem to work, as the file is still deployed. The regex pattern works, as I have tested in a perl script. How should I write the excludePatter regex to get this to properly exclude that file?
(I realize this may seem like a dump question, as why is it in a filelist, if you want to exclude it. This is more as a safty mechinism, because it is critical that the files in that directory do not get deployed)
Find more posts tagged with
Comments
Migrateduser
I think
regex="^.*/formal_testing/.*$"/>
MoReese
that's it. thanks.
Migrateduser
I believe John is correct. You have to first understand that the regex syntax in OpenDeploy exclude patterns is
not
the same as the syntax used in perl. It's not even the same regex flavor. You then ask yourself "why did they do that?". And that's a **** good question. Interwoven uses different flavors of regex in TeamSite as it does in perl as it does in OpenDeply. Evidently no one thought this would cause any confusion. Brilliant.
Dave Smith
Sr. Software Engineer
Nike, Inc.
(503) 671-4238
DavidH.Smith@nike.com