-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Januk Aggarwal !
On Fri, 26 Jan 2001 22:51:34 -0800 GMT your local time,
which was 27.01.2001, 07:51 (GMT+0100) where I live, you wrote:
PMFJI, I have a question concerning your regex. As I told in one of my
postings earlier I started to learn regex. So there are some questions
every now and then. Sorry for that!
I divided your regex in parts, which I can and can not explain.
> <regexp>
> %SETPATTREGEXP=
> "(?is)
What does this mean? Is the meaning of "?" in brackets different? Isn't
this SubPatt1 by definition?
> .*
find any character, occurrence 0-infinity
> (^Credit\s*Card.*?$)
Find any word starting with "Credit", followed by 0-inf. whitespaces,
followed by the word "Card", followed by any character, occurrence 0-inf.
Again the "?" which normally means 0-1 occurrence of the character, but
this doesn't make sense here to me. Definition of ?All is stored in a
SubPatt .
> .*payment\s*of\s*
This could be explained as the last paragraph; I omit this.
>(.*?\n)
Here we are again: "?". At least: it has to be followed by a newline to be
matched.
>"%REGEXPBLINDMATCH="%TEXT"%SUBPATT="1"%SUBPATT="2"
Well, obviously the first bracket-pair does not give value for the first
SubPatt. So it has to have a different meaning.
Could you give me a hint? TIA.
If this is too special for this mailing-list (maybe this belongs to
TB-Techie), please let me know. Thanks !
- --
Best regards,
Gerd
======================================
Using The Bat! Version 1.49c
PGP-Keys on request mailto:[EMAIL PROTECTED]?subject=send_key
- ----------------------------------------------------------------------------
I asked Mom if I was a gifted child...
she said they certainly wouldn't have paid for me.
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
Comment: Digitally signed for authentication purposes ! Gerd Ewald
iQA/AwUBOnKvk0y/sHrVbGGHEQIIPQCaA1njz+ZaIYFsbmqedXoSIq4QhsEAoO20
Rwere4vlPb7TejH5xnIhoy2W
=90Yn
-----END PGP SIGNATURE-----
--
______________________________________________________
Archives : <http://tbudl.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
TBTech List: <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>
You are subscribed as : [email protected]