Is there a way in Ant to just use regex to search through a file for a line and get a boolean result if there is a match or not?
I want to look through a log file for an error line. If the error line exists, I want to perform some additional steps.
In the worst case, I could use the Script tag but would like to avoid it if Ant has a way of doing it.