-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In <[EMAIL PROTECTED]">mid:[EMAIL PROTECTED]>,
Ricardo M. Reyes [RMR] wrote:'

RMR> %SETPATTREGEXP="(?im-s)^(X-Mailer|User-Agent):\s*(.*)$"%-
RMR> %REGEXPBLINDMATCH="%Headers"%- %Subpatt="2"

RMR> and I can't understand the reason for the first part:

RMR>     (?im-s)

RMR> What does it look for? An 'i' and a caracther between 'm' and 's'?
RMR> What for?

Those are actually internal option settings.

'i' makes the expression search without paying attention to character
case.

'm' allows for multiline searching.

's' makes the metacharacter '.' match new-line feeds as well.

Only the 'i' internal option is really necessary here since the
X-Mailer header is almost always in one line. The others can be
dispensed with.

- --
Allie C Martin     \      TB! v1.62/Beta1 & Windows XP Pro
 List Moderator    /   PGP Key - http://pub-key.ac-martin.com
'
-----BEGIN PGP SIGNATURE-----

iD8DBQE9WZERV8nrYCsHF+IRAss6AKDPnE7AJZQiHTrjseiTtH+2UkvT+QCgkw/s
mxDHJj+ZVZr4rcp95CdX4qQ=
=+ai7
-----END PGP SIGNATURE-----


______________________________________________________
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to