Unabasheded laziness and the phone edit

Fairlight fairlite at fairlite.com
Fri Aug 6 07:41:52 PDT 2004


The honourable and venerable Fairlight spoke thus:
> >From inside the gravity well of a singularity, Tony Ryder shouted:
> > 
> > PHONE  .\ <"("> N N N <")[!-!] "> <" "> N N N <"-"> N N N N | phone1

Erm....won't that break?  You have <")[!-!] "> which means that the
expression to handle deleting the dash is all taken as part of the string
literal, no?  Right idea, unbalanced punctuation just eyeballing it.  Okay,
I shouldn't criticise without testing it.  Okay, now I have, and while It
passes syntax check, the results are what I figured:

Test data: 502-555-1212
              ^
           Edit Failed At Cursor Position

No offense, Tony!  

mark->
-- 
Bring the web-enabling power of OneGate to -your- filePro applications today!

Try the live filePro-based, OneGate-enabled demo at the following URL:
               http://www2.onnik.com/~fairlite/flfssindex.html


More information about the Filepro-list mailing list