can you try this: OCTETA.OCTETB.OCTETC.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])
without the ( ) it means "OCTETA.OCTETB.OCTETC.[0-9]" or "[1-9][0-9]" or "1[0-9][0-9]" or "2[0-4][0-9]|25[0-5]"
Let us know if that helps.
thanks for the reply. That doesn't work either. Are you sure the UI recognizes the "|" symbol? If I just use brackets I will catch nodes with IP addresses that meet the character class criteria. I can't create criteria that will match all addresses in a Class C subnet.
Any other ideas?
sorry for misleading information in my previous post - that applies only for regexes.
In dynamic groups, we do not support regex, only what SQL supports in the LIKE operator (see LIKE (Transact-SQL))
That's why the brackets [ ] worked but not parentheses.
You can also use "*" instead of "%" and "?" instead of "_"
If this is about IP address field which can contain only valid IP, you should be fine with OCTETA.OCTETB.OCTETC.* when filtering a class C subnet.
If you would like to have more specific condition, you need to create multiple dynamic queries in a single group, each filtering one part of your condition (where you would use "|" symbol)
Hope this helps
1 of 1 people found this helpful
Thanks. This explains alot. This should give me enough to go on to build the queries I need.
FYI, I found that in my case some of the symbols worked the opposite as you described. "*", and "?" did not work, but "_" and "%" did return the expected result.