Forum Discussion
Darren_21048
Nimbostratus
Jun 15, 2011Regex in STREAM::expression
I am looking to implement a regex within STREAM::expression to find the User Comments section on our web pages which we mark with a specific begin and end comment in the HTML. I am using the followin...
Darren_21048
Nimbostratus
Jun 16, 2011I think this is possible as sometimes the pages just break. Looking at your example, I'm basically doing exactly the same thing as your example code so it appears that maybe this isn't due to line feeds.
However, that's gives me another problem. When I add STREAM::max_matchsize, I get the following error.
[command is not valid in current event context (HTTP_RESPONSE)] [STREAM::max_matchsize 2048]
I've found an example of the same problem on the forum.
http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/39/aft/21001/showtab/groupforums/Default.aspx
I've tried adding STREAM::max_matchsize in the LB_SELECTED and STREAM_MATCHED events where I get no syntax errors, but I don't think it makes much difference.
Thanks
Darren
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects