Hi Januk,
On Monday, November 19, 2001 at 01:22:13 [GMT -0800], you wrote:
> It works on my machine. When you're testing the regexp, remember to
> remove the %IF macro. Otherwise you won't see the subpatterns.
> Copying from above, you can test the following:
I recreated it without the %IF and inserted macros for the subpatterns
in the first place, but it didn't do anything.
> ,----- [ test QT ]
> | %SETPATTREGEXP="(?im-s)^(X-Mailer|User-Agent)\:.*(Bat!|Becky|Gnus)"%-
> | %REGEXPBLINDMATCH="Headers"%-
> | %SUBPATT="2"%-
> |
> | SubPatt 0 = <%SUBPATT="0">
> | 1 = <%SUBPATT="1">
> | 2 = <%SUBPATT="2">
> | 3 = <%SUBPATT="3">
> '-----
This version outputs (tested right here in your mail with
"test"<CTRL-Space>, not copied in from somewhere else):
SubPatt 0 = <>
1 = <>
2 = <>
3 = <>
I don't understand why subpattern 0 doesn't even list the RegExp. :-(
--
Regards,
Lars
The Bat! 1.54/10 on Windows NT 5.0 Build 2195 Service Pack 2
____________________________________________________________
| Lars Geiger | <mailto:[EMAIL PROTECTED]> |
--
______________________________________________________
Archives : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]