Highlighted
Super Contributor.. Super Contributor..
Super Contributor..
1028 views

String Comparator

Jump to solution

Why is the String Comparator operation (f1dafb35-6463-4a1b-8f87-8aa748497bed)  /Base version 1.6.2 telling me java.lang.Exception: Unknown match type: regex ????

0 Likes
1 Solution

Accepted Solutions
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

don't worry, its not just you. Its a rubbish error message. i got the same error, and after talking with HP support this is a known "enhancement request" to improve the error logging of this operation.

https://softwaresupport.hpe.com/group/softwaresupport/search-result/-/facetsearch/document/KM01451679

In actual fact, the problem is more likely to be a problem in the actual regex expression. check your regex is valid. i had used "*" as the matchto string, when in actual fact, it should have been ".*"..

View solution in original post

0 Likes
3 Replies
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

don't worry, its not just you. Its a rubbish error message. i got the same error, and after talking with HP support this is a known "enhancement request" to improve the error logging of this operation.

https://softwaresupport.hpe.com/group/softwaresupport/search-result/-/facetsearch/document/KM01451679

In actual fact, the problem is more likely to be a problem in the actual regex expression. check your regex is valid. i had used "*" as the matchto string, when in actual fact, it should have been ".*"..

View solution in original post

0 Likes
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Thanks, I'll give it a shot...

Gave it a shot and it turns out you were correct. I needed to escape a "\". Anyway I upgraded to base 1.9.0 and it still said invalid matchtype. 🙂

0 Likes
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

cool. make sure you subscribe to the ER. Apparently thats how HP determines ER priority, number of clients complaining about the problem 😉

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.