This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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".