Martin-

Thursday, December 1, 2005, 2:06:31 PM, you wrote:

> matchChunk(tRawText, "(?s)<B>(.+?)</B>", tPos, tEnd)

Thanks to all for the great replies. The .+? syntax does indeed solve
my problem, as does the uppercase U. I puzzled over this for a while,
trying to figure out why the ? made a difference after I already
specified the pattern I wanted, and then suddenly the light bulb went
off and I got it. It's specifying *at most* one occurence of the
string. Brilliant. Regex rules.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to