Mailingliste - Einträge 2006


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [qftestJUI] Problem checking multi-line text with regular expression


  • Subject: RE: [qftestJUI] Problem checking multi-line text with regular expression
  • From: "Michaelis, Mark" <mark.michaelis@?.com>
  • Date: Wed, 31 May 2006 11:10:39 +0200

Hello Greg,

great it works... and I could have sworn I also tried it with less
escaping...

Kind Regards,
- Mark

> Hello Mark,
> 
> ahh, the art of regexps... :-)
> 
> Rule 24: Don't escape more than is absolutely necessary.
> 
> In your example it appears that escaping the '<', '/' and '>'
> characters with a '\', which is not necessary for regexps, is actually
> causing the problems. The following works for me:
> 
> (.|\n)*<body>( |\n|\t)*<p>( |\n|\t)*</p>(  |\n|\t)*</body>(.|\n)*
> 
> Best regards,
>     Greg

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Videos Downloads Dokumentation Kaufen Gratis Testen