email edit

Jay R. Ashworth jra at baylink.com
Tue Nov 13 06:43:12 PST 2007


On Mon, Nov 12, 2007 at 03:49:47PM -0500, Kenneth Brody wrote:
> Quoting Jay R. Ashworth (Sat, 10 Nov 2007 13:40:38 -0500):
> >* matches nothing?  That's not what my 5.0 help says; it says "matches
> >any single character".
> 
> Last I checked, space is a character.

Yes, but filePro is, arguably, the only language that treats fields as
having declared lengths which are always space padded on the right, as
opposed merely to having a maximum length.  As I note here:

> >Oh yeah: I always forget: filePro treats all fields as space padded on
> >the right to the full length of the field.  I need { not-a-space } at
> >the end there.
> 
> By placing "{*}" (accept all characters) at the end of the edit, you
> explicitly told filePro to accept all of the trailing spaces.

Which programmer intuition tells me not to expect to be there, yes.

Cheers,
-- jra
-- 
Jay R. Ashworth                   Baylink                      jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com                     '87 e24
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 1274


More information about the Filepro-list mailing list