need to add slashes
Fairlight
fairlite at fairlite.com
Fri May 26 07:20:06 PDT 2006
Y'all catch dis heeyah? Kenneth Brody been jivin' 'bout like:
>
> Okay, that's wrong. "[ A ]" may occur zero or one time. See further
> down at "[{ A }]" which is correct in the "zero or more times".
Ah. That could be a problem.
> Well, let's assume you had the correct syntax for "zero or more times",
> and used:
>
> [{ * }]<"\">"'"[{ * }]
>
> This is still wrong, as the "[{ * }]" means "any character (including
> apostrpohes) zero or more times". In other words, the entire field.
> After consuming the entire field, including the apostrophes, there is
> no way for an apostrophe to still be there, as your edit requires.
I take your point. What's the equivalent syntax for [^']* in perl expanded
RE's? That says, "Expect zero or more non-apostrophe characters." What's
the edit analog? Wasn't seeing a good way of doing that.
> In this case, Laura's help file is wrong. (Hey, it happens.) But,
> the logic is still flawed, as described above.
If it helps her, it's presented that way in v2.0.02 of her help files. She
may have it corrected in a later release if there is one.
mark->
More information about the Filepro-list
mailing list