Matchtext

Alex Rice alrice at ARCplanning.com
Thu Jul 31 12:56:02 EDT 2003


On Thursday, July 31, 2003, at 11:42  AM, Steve Gehlbach wrote:

> Alex Rice wrote:
>> put matchText(tLine, "(\d{1,2})/(\d{1,2})/(\d{2,4})", tDay, tMo, tYr)
>
> ??  Although the "\d" and {m,n} syntax is standard regexp well 
> documented in Perl, I did not see this in the Rev Regular Expression 
> Syntax page.  Do I have bad eyes or is this not documented (maybe Rev 
> is a complete reg exp implementation but not completely explained in 
> the rev docs)?

Steve- yes since RR 2.0 the regex engine is using the PCRE library. It 
supports nearly all Perl regular expressions syntax. It's not explained 
in the Rev docs- except mentioning Perl-compatible regex in the Release 
Notes / What's New doc for RR 2.0.x

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




More information about the use-livecode mailing list