I need an regular expression to check whether a particular argument is in a floating point range.For ex i want the Param only in the range 0.01 to 999.9 . I have configured the below rule ,but it fails to work .
SecRule ARGS:Param "![0.01-999.9]" "deny,id:2200"
If the value of param
is say 1000 it gets rejected which is correct , if the value of Param
is 0 then its being accepted which should not be the case .Please let me know the exact way of configuring the regular expression for the same.