Because your first option matches the style inside the brackets
and
your second option does take into account the forward slash before style?

Todd

Michael Dilworth wrote:
OK, it's late and I'm tired, and this will probably end up being stupid regex issue, but:

why does...
rawbody STYLE_IN_BODY /\<body\>.*style/si  match
and:
rawbody STYLE_IN_BODY /\<body\>.*\<style\>/si   not match?

given a message body:
<html><head>
...
</head><body>
...
<style>
garbage...
</style>
...
</body>
</html>
<<<<<<<<<<<<<<<<<<<<<<<<<

No multipart, no Mime, just straight html as a message....

TIA michael...




--
Todd Adamson
Network Partners, Inc.
tadam...@routers.com
(402)434-5395 x3001

Reply via email to