perl regex modifiers

Mark Brownell gizmotron at earthlink.net
Fri Jul 25 15:47:01 EDT 2003


I keep getting false with this regEx. I'm trying to pick up:
"web search for Perl regular expressions" with this handler

Any ideas what is wrong or what to try?

on mouseUp
   local tagSet, stopTag
   put "Do a <perl>web search for Perl regular expressions</perl> 
tutorials," into myVar
   put "^<perl> (.*) (</perl>)" into regEx
   put matchText(myVar, regEx, tagSet, stopTag) into bbYes
   put tagSet into tElement
   put bbYes
   answer  tElement
end mouseUp

Mark




More information about the use-livecode mailing list