Newbie3
    J. Landman Gay 
    jacque at hyperactivesw.com
       
    Mon Dec  8 13:45:35 EST 2008
    
    
  
I'm apparently not running on all cylinders today. My copy/paste didn't. 
Here's a corrected version, after which I think I'll bow out gracefully 
for today:
> If you want a regex search instead of an exact match for "ab" then you'd 
>  set up a filter first and then run a variation of the above repeat on 
> the results of your filtered text. Something like this:
> 
>   put fld 1 into var
>   filter var with "a*b*"
>   repeat for each line tLine in var
>     get matchChunk(tLine,"(a*b*)",tMatchStart,tMatchEnd)
>     put tMatchStart && tMatchEnd & cr after tList
>   end repeat
-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com
    
    
More information about the use-livecode
mailing list