Regex help, please

Harvey Toyama harvey.toyama at qlogic.com
Mon Oct 10 20:14:38 EDT 2005


Hi Sarah,
That did work and it is even faster than using the "repeat for each".

For the record, on this 500,000+ line log file

1.  "repeat while vCtr <= vLen"	
	took more than a 20 minute coffee break (then I killed it)
2.  "repeat for each ... "
	took about 10 seconds
3.  filter ...
	took about the time for the mouse button to rise back up

Wow! 

-- Harvey
-- 
 

-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Sarah
Reichelt
Sent: Monday, October 10, 2005 4:37 PM
To: How to use Revolution
Subject: Re: Regex help, please

> I have a log file to parse. The data looks like this:
>
>
>
>                                                       Chip_Test:
>
>   2   1075.7  R120<-7000h                    00020000         mov
> HifRegs
>
>   2   1088.1  R14<-7000h                     00020002         mov
> HifRegs
>
>   6   1100.5  [7020h]<-1h                    00020004         mov
> RSTS_Busy
>

Untested, but how about something like this:

filter tLogData with "??[0-9]*"

Cheers,
Sarah
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list