|
ECS-L Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | RE: [ECS] this is why i'm not a programmer... Martin Terry Wed, 2 Feb 2000 14:14:20 -0800 |
Scott,
I really appreciate your working on this Perl script to "parse out" an event
and it's associated items. I was really starting to put this to use and I
thought I found somewhat of a bug.
The script doesn't seem to catch references to items in the 4th column, for
example (not necessarily accurate):
Do TextItem1 T1<-T1 TextItem2
The TextItem2 doesn't seem to get parsed in the script.
I can send you a real example if it helps.
Again, I realize you are providing this on your own, and I for one
appreciate it.
-----Original Message-----
From: Scott Reston [mailto:ih8gates@concentric.net]
Sent: Thursday, January 06, 2000 5:29 AM
To: ECS List
Subject: Re: [ECS] this is why i'm not a programmer...
On Wed, 5 Jan 2000 19:31:22 -0800, Don Stephens wrote:
>So...you fixed it yet? Anyone that can do things in Pearl should find ECS a
>piece of cake :-)
>
>Don
yup. got it fixed and found a couple other problems. in the course of
messing around with the script, i made it a little better.
when looking for an event, you can give the name of the event as a regular
expression.
. = match a single character
* = match character 0 or more times
+ = match character 1 or more times
? = match character 1 or 0 times
basically, specifying "TVL.*" for the event name to search for will get you:
TVL
TVL DL
TVL PARSE
and all of the items needed to run these 3 events.
get the idea?
if you just specify "TVL", you'll only get the TVL event (and its items).
see "http://www.perl.com/pub/doc/manual/html/pod/perlre.html" for a complete
regular expression rundown...
my script is available at:
http://www.indelible-blue.com/info/ecsparse.bat
scott reston
ih8gates@concentric.net
http://www.indelible-blue.com/meetib/scott/
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects