Sed Request Regular Expression Format
807567Sep 3 2010 — edited Sep 13 2010A quick question....
There are lots of different syntaxes for regular expressions and lots for SED. With the sed_request and sed_response filter I have tried different syntaxes for marking word boundaries, but don't know which to use. The \b syntax is supported but doesn't seem to do anything and the \< and \> syntax throughs up errors when I start up the web server. I tried the more complex (?<!\w)(?=\w) and (?<=\w)(?!\w) but the \w isn't supported. I am wondering if I just can't do this.... I am trying to stop SQL injection attacks using a syntax such as
s/\bselect\b.{1,100}?\bfrom\b.{1,100}?\bwhere\b//g
Are word boundaries not supported?