perl regex

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Trent Shipley
Date:  
Subject: perl regex
Assume that ':' and ',' are reserved tokens.

Then each field-name has the form:
foo:
# where foo is the field-name proper. The important detail is non-blank
printing characters terminated with ':'.

Also each datum has the form
: bar,
or possibly
:bar,
or even
:               bar,
# that is a datum can only be in an environment delimited by ':' followed by 
any amount of whitespace followed by data followed by ','.


A record has the form:

foo0: bar0, foo1: bar1, ... , fooN: barN\n

# remember to trim whitespace from left side of these fooS
,     fooX:







On Wednesday 2003-03-26 14:33, Mike Starke wrote:
> David is right, I probably should have included more accurate
> data than my original message.
>
> Here is a line:
> ---------------------------------------------------
> TYPE: AL ADHC, SUBTYPE: ADULT DAY HEALTH CARE, ID: AL2905, LICENSE:
> ADHC-2838, NAME: MARY'S PLACE ADULT DAY CENTER, LEGALLY: MARY'S PLACE ADULT
> DAY CENTER, ADDRESS: 14601 DEL WEBB BLVD, CITY: SUN CITY, STATE: AZ, ZIP:
> 85351, TELEPHONE: (623)584-4999, FAX: , CAPACITY: , COUNTY: MARICOPA
> ---------------------------------------------------