Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.19.1
-
None
-
None
-
Probably any environment
Description
It would be good to clarify the %regex ... feature:
1. While it is said to be regular expression, it really is a regular expression + ".class" kind of thing. This does not work (while it is proper regex):
.+\.class
The following works (while it is not proper regex):
.+.class
2. Clarify that one is supposed to match slashes between packages and class name, not periods. The following current documentation doesn't clarify that by just using ".*":
!%regex[pkg.*Slow.*.class]
3. Clarify what the expectations are in terms of escaping characters
I just spend literally ten hours figuring out a complex regex, going into TeamCity (which by itself complicated the troubleshooting for me), and the documentation could have saved my butt, here.