On Saturday 21 July 2007 15:46, Brian Hancock wrote:

> Hi Wiebe,
> 
> I am not exactly sure...  I can;' remember where I got this information
> from...  but I put it into my DP Cheatsheet for times like this...  However
> I do seem to remember that in many cases whitespace is ignored so

Hmm, "many" cases...?

> 
> #C:
> =1=*1"Kirk"*3 BO "Boldly"
> BF "go where no man has"
> UO "tread" UF
> CR "--------------------------------------"**
> 
> gives the same result (I think) as
> 
> #C:
> =1=*1"Kirk"*3 BO     "Boldly" BF "go where no man has" UO "tread" UF CR
> "--------------------------------------"**
> 
> whitespace being newlines or spaces...

I'll do some tests.

> 
> Now the really nice thing about this in Ruby is that you have PERL-like
> Regular Expressions, so you should readily be able to either check its
> validity or parse it into its components

Actually, parsing the file wasn't very doable with regexp's. We used the
traditional manner: a finite state machine implemented by a loop over the
string.

_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf

Reply via email to