cancel
Showing results for 
Search instead for 
Did you mean: 

ePO 4.6 "contains pattern" property comparison

Does anyone have any information on what ePO 4.6 looks for as a pattern when using the Criteria comparison selection "contains pattern" when creating a tag or running a report?  In older versions of ePO, you had the option of using the comparison values of "contains" or "does not contain", but 4.6 added "contains pattern".  I am assuming this is supposed to be a regex value, but I am not sure what exactly can be used.  Anyone have any idea?  I am also going to ask support and my SE, but I just wanted to see if anyone in this forum has any information too.

9 Replies
andrep1 Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 2 of 10

Re: ePO 4.6 "contains pattern" property comparison

Did you ever get an answer from support on this ? If it is regex, I haven't found the correct syntax yet.

Re: ePO 4.6 "contains pattern" property comparison

I have not, but I do have a consultant visiting this next week, so I am going to try and get some answers then.

smbober
Level 7
Report Inappropriate Content
Message 4 of 10

Re: ePO 4.6 "contains pattern" property comparison

Has there been any movement on this issue?

andrep1 Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 5 of 10

Re: ePO 4.6 "contains pattern" property comparison

I've raised a platinum ticket on the issue and will get back to you.

andrep1 Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 6 of 10

Re: ePO 4.6 "contains pattern" property comparison

I got an answer... apparently it is a like statement without the wildcards. That sounds like an "=" to me....

If you do a view sql for a query, it is what it reports. The usage of this escapes me

barena
Level 7
Report Inappropriate Content
Message 7 of 10

Re: ePO 4.6 "contains pattern" property comparison

Hi

I did some tests
I created 10 systems epo tree whose name is prova1-10.
I then created a tag "test" that detects systems on the basis of criteria such as name using the filter contains patter and setting it to specific values​​:

value "ov" the criterion does not match any system
value "%ov%" the criterion does not match any system
value "*ov*" the criterion matches all ten systems prova1-10
value "??ov?1?" the criterion that matches a single system prova10
value "??ov?1*" the cirterion matches two systems prova1 prova10

I tried more complex patterns like this "??ov?[1,2]?" but do not work.

Who knows, McAfee provides a help on this, because there is no trace in the online help of the criterion "contains pattern".

best regard

andrep1 Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 8 of 10

Re: ePO 4.6 "contains pattern" property comparison

Have you tried searching for prova% ?

barena
Level 7
Report Inappropriate Content
Message 9 of 10

Re: ePO 4.6 "contains pattern" property comparison

Yes I tried but that pattern does not match any system

JoeBidgood McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 10 of 10

Re: ePO 4.6 "contains pattern" property comparison

The two wildcards here are * and ?, which map to the SQL wilcards _ and %:

* is equivalent to %  which means "Any string composed of zero or more characters."

? is equivalent to _ which means "Any single character."

HTH -

Joe

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community