-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Norbert,
@6-Jun-2003, 00:53 +0200 (23:53 UK time) Norbert Luckhardt [NL] in mid:[EMAIL PROTECTED] said: NL> maybe it's just too late, but I'm trying this now for some NL> time... can it be that a bug (or even a feature I don't NL> understand?) breaks the usage of %subpatt in %if? Yes, it's a feature. Any other macro before the regex is complete will break it. NL> on a message which has the line NL> OS-AIX: AIX NL> I tried the following: NL> %SETPATTREGEXP="(?U)OS-AIX: (.*)$"%- NL> %REGEXPBLINDMATCH="%TEXT"%- NL> %%subpatt=+1+ is "%subpatt=+1+" NL> %%subpatt=+1+ is %IF:_%subpatt=+1+_="":_empty_:_not empty_ ... <snip> NL> what's wrong here? or how can I check if a %subpatt is empty or not in NL> another way to change my output accordingly? Try this: %COMMENT='%SETPATTREGEXP="(?U)OS-AIX: (.*)$"%- %REGEXPBLINDMATCH="%TEXT"%SUBPATT="1"'%- %%subpatt='1' is "%comment" %%subpatt='1' is %IF:_%comment_="":_empty_:_not empty_ - -- Cheers -- .\\arck D Pearlstone -- List moderator TB! v1.63 Beta/8 on Windows XP 5.1.2600 Service Pack 1 -----BEGIN PGP SIGNATURE----- Version: PGPsdk version 1.7.1 (C) 1997-1999 Network Associates, Inc. and its affiliated companies. iQA/AwUBPt/hmTnkJKuSnc2gEQKDBACgwGaImd2VFwHXb3bIt13DJwt6oPMAnA2r dJT7SnReKeFHpjrFZIL0YqKT =3ycx -----END PGP SIGNATURE-----
________________________________________________________ http://www.silverstones.com/thebat/TBUDLInfo.html
