Yes, there's a reason: the customer requires all of the source to be in
either PowerBuilder or Oracle PL/SQL, because that is what their staff can
maintain.
We're not matching files to a pattern, so I doubt the performance would
be an issue to consider. We're basically performing field-level validation.
And while the field might be 4k of text, it's still just one field at a
time.
I'll probably end up hard-coding the parser, but would prefer a more
general solution, even if it required incrementally larger effort.
Specifically, if I had a regular expression parser, I wouldn't have to test
my own algorithm for special cases and such.
--dang
-----Original Message-----
From: Funk, Sheldon (JUS) [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 05, 2000 14:58
To: 'Griffith, Daniel M.'
Subject: RE: PFCSIG Regular Expression Service
Is there a reason why you would write it in PowerBuilder? If you're running
on Windows, build it as a C DLL file... I don't even want to imagine how
slow PB would be for a grep service.
Sheldon
> -----Original Message-----
> From: Griffith, Daniel M. [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, June 05, 2000 11:49 AM
> To: '[EMAIL PROTECTED]'
> Subject: PFCSIG Regular Expression Service
>
> Does anyone know where I can a regular expression evaluator for PB?
> I've ported a simple one from www.snippets.org, but it doesn't
> support alternation (e.g., "a|b") or grouping (e.g. "(ab)|(cd)".
> I have access to the GNU source for grep, but I'd rather not port it
> if someone else has, or if it exists in a more digestible form.
> --dang
> > [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS,
> ADDRESS
> > A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help
> pfcsig
> > SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]