Re: [mod-security-users] regular expressions
Brought to you by:
victorhora,
zimmerletw
|
From: Achim H. <ah...@se...> - 2007-11-09 20:39:52
|
hmm, I don't see any benefit on discussing regex on the list (as long as there isn't a specific problem with them). There're countless tools in the wild to do it. perl -MYAPE::Regex::Explain -e 'print YAPE::Regex::Explain->new(qr/^apache.*perl.*wget/)->explain;' or the Firefox extension: http://sebastianzartner.ath.cx/firefoxExtensions/RExT/ {-: Achim !! I also see benefit in regexp questions and discussions that will help !! for better rules. But from your invitation I fear that this list will !! be flooded with general regexp questions. Take this thread for an !! example. Regexp learning should go somewhere else... !! !! -Terje !! !! On Nov 9, 2007 7:53 PM, Brian Rectanus <Bri...@br...> wrote: !! > I see your point, but ModSecurity does nothing without rules. Most !! > rules are using PCRE. Many issues that come up here are related to !! > regex problems because of a lack of understanding of PCRE and how to !! > write (fix or expand) regex rules . I do not see any problem with regex !! > questions that relate and help with writing rules. !! > !! > Of course you need to use your best judgment and keep the posts !! > ModSecurity related. |