× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



RE: ^.*?CREDI(T ?)?L(I|Y)(NX|NK|NKS)((?!CAN|\bca\b).)*$

The (T ?)? is saying that I could have a 'T', or a 'T ' or neither
(CREDIT
LINKS, CREDILINKS, CREDITLINKS) and all that works well. The LINKS
could
be spelled LINKS, LYNKS, LINK, LYNK, LINX, LYNX.

Yes, that much makes sense after dropping the initial 4.

The last group '((?!CAN|\bCA\b).)*$' is supposed to say if after the
CREDI... there is CAN anywhere or CA in a word, then the expression is
not
valid. As I said the expression works in a REGEX validation program I
have
on the PC, but when I put the same expression on the i5, it fails with
the
message I listed. If I remove the '((?!CAN|\bCA\b).)*$' then the
expression compiles.

I didn't understand your (?! Syntax so I tried to look it up at
http://www.regular-expressions.info/brackets.html. I do not find reference
to your syntax, so not sure how it's supposed to work. I found (?: and (?>
(only the first of which was familiar to me).

Interestingly, when you compile the expression without specifying
REG_EXTENDED, it compiles (at V5R3). But it still doesn't seem to match as
you'd hoped. If you feel strongly that this is a bug, I would suggest
taking it up with your service provider and see how IBM responds.
Personally, I am unfamiliar with the PC program with which you have done
your test, and cannot vouch for its validity either.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"A conference is a gathering of important people who singly can do nothing
but together can decide that nothing can be done."
-- Fred Allen





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.