This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
I am running an Interpreted Java script and trying to match a line of input to regex "td title".
Please tell me where I err.
Edit: I figured that .matches requires exact match.
I need a method that determines whether input contains a match for the regex.
Rob Spoor wrote:Using ".*td title.*" for the regex would also have worked. The .* means any number of characters, so that full regex means "anything or nothing, followed by td title, followed by anything or nothing".