Regex expressions - searching for software titles
I'm trying to create a smart label that will search for all previous versions of Java 8.
Using the Wizard, I created the following line:
Software Titles Matches REGEX Java 8 Update ([0-9]\b|[0-4][0-9]\b|50\b).*
Which finds nothing. I tested this expression on regexr.com, and it works perfectly. (I've tried adding the leading "/" and trailing "/g", with no results found.
I spent 30 minutes with a KACE product support engineer yesterday. He acted like I was from another planet. He suggested I write a query along the line of:
Software Titles Contains Java 8
AND
Software Titles does not contain Java 8 Update 42000
(or whatever the latest version is).
Using the Wizard, I created the following line:
Software Titles Matches REGEX Java 8 Update ([0-9]\b|[0-4][0-9]\b|50\b).*
Which finds nothing. I tested this expression on regexr.com, and it works perfectly. (I've tried adding the leading "/" and trailing "/g", with no results found.
I spent 30 minutes with a KACE product support engineer yesterday. He acted like I was from another planet. He suggested I write a query along the line of:
Software Titles Contains Java 8
AND
Software Titles does not contain Java 8 Update 42000
(or whatever the latest version is).
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
jknox
9 years ago