Hello wie,
Historians believe that Fri, 26 Jan 2001 at 19:13:05 GMT +0700 was when,
wie [w] typed the following:
w> [wie]:
w> Januk... Thanks a lot for your regexp... but how to get not
w> just Pine word... i want regexp get 13 char begining with
w> Pine...
w> <[EMAIL PROTECTED]>
w> ^^^^^^^^^^^^^
w> i want to get this char??? can i??
Absolutely.
w> How to make it??
That's an easy modification:
<regexp>
%SETPATTREGEXP="(?im-s)(?(?=(.*\n)*?^Message-ID\:\s*\<Pine)(.*\n)*?^Message-ID\:\s*\<(Pine.{9})|^X-Mailer\:\s?(.*))"%REGEXPBLINDMATCH="%HEADERS
X-Mailer: Unknown"%SUBPATT="3"%SUBPATT="4"
</regexp>
w> I try to understand your regexp command?? but i still don't
w> understand... i try to change both of %SUBPATT with greater
w> number, but don't get 13 char???
The subpatterns are the parts enclosed by (). Brackets like: (?....)
are not counted as subpatterns.
Put the following template fragment into a test quick template and see
what happens to some of the regexps that you use. It's very
revealing.
--- Begin Template ---
<regexp>
SubPatt 0 = <%SUBPATT="0">
1 = <%SUBPATT="1">
2 = <%SUBPATT="2">
3 = <%SUBPATT="3">
4 = <%SUBPATT="4">
5 = <%SUBPATT="5">
6 = <%SUBPATT="6">
7 = <%SUBPATT="7">
8 = <%SUBPATT="8">
--- End Template ---
w> btw.. Thank you a lot!
You're welcome.
--
Thanks for writing,
Januk Aggarwal
Using The Bat! 1.49c under Windows 98 4.10 Build 2222 A
I've determined the momentum of my physics assignment so precisely
that it can be anywhere in the universe right now.
--
______________________________________________________
Archives : <http://tbtech.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>
You are subscribed as : [email protected]