Re: need help with RegExp
Konrad Szkudlarczyk <konradszkudlarczyk-IjDXvh/[email protected]> Tue, 12 Jul 2005 18:50:56 +0200
| Newsgroups | gmane.mail.the-bat.devel |
|---|---|
| Message-ID | <[email protected]> |
Witam CiĂŞ, Billu. Dwunastego lipca 2005 roku napisaÂłeÂś: > Also both examples have a `"` after the naughty extension, not a > `>`. I have seen html messages without `"` chars in links. See "test" message attached. > Try this as your regex - the (?s) will cause lines to be spanned: > the (?: ... ) is a non-capturing subpattern - everything else looks > good: > (?s)http://.*\.(?:scr|exe|etc)" If message has link (to the simple html page, for example) AND text ".exe", this regexp will catch this (false alarm). -- Pozdrawiam Konrad Szkudlarczyk ---------------------------------------------------------------------- Najnowsze wiadomosci!!! >>> http://link.interia.pl/f18a0