perl regex modifiers

Alex Rice alrice at ARCplanning.com
Fri Jul 25 15:57:17 EDT 2003


On Friday, July 25, 2003, at 02:42  PM, Mark Brownell wrote:

>
>   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
>

1) whitespace matters in regex
2) "^" anchors to beginning of the input string-

try put "<perl>(.*)(</perl>)" into regEx


Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com




More information about the use-livecode mailing list