AW: Re: Regex help needed...

Mark Wieder mwieder at ahsoftware.net
Sat Jan 30 19:55:15 EST 2016


On 01/30/2016 04:28 PM, Paul Dupuis wrote:

> 1) wondering if LC's hooks to whatever regex tool they are using under
> the hood is a good as it should be

LC's regex library is the same PCRE library everyone else uses. And it's 
the latest released version. Regex's power lies in its ability to match 
complex patterns, which doesn't necessarily translate to speed.

> AND
> 2) planning on rewriting my code to use chunks.

You may find that regex matching works better than LC's chunk matching 
in some situations. For speed though, it's hard to beat the built=in 
chunking functions in LC, as they're already pretty well optimized.

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list