Hi all,
i need to use regexp
/(^POST \/ HTTP\/1\.[01].*|\s*^Host: somehost\.tld)/mg
which can detect POST to somehost.tld.
The test string what is matched looks like (not really):
-------------------------------------
POST / HTTP/1.0qdf dqgf qf g
dfgd
qwert
qewrt315t
Host: somehost.tld
gf
qwresg
qeg
qefg
---------------------------------------
The regexp was tested at http://regex101.com and works well, but in ROS is some limitation, or i don't know how to use this regexp in ROS L7 rule.
Can anybody help me,please?
Sincerely