David_Homoney
Mar 06, 2008Nimbostratus
Regex in STREAM
So I am attempting to use regex with the stream profile in an iRule. I need this to catch all hrefs execpt for ones with a css file extension. I have tested this with regex buddy and it looks good, but the STREAM barfs. First, here is the regex.
href="[^"]*(?
Finally here is the error the STREAM profile spits out.
Mar 6 13:19:56 tmm tmm[1545]: 01220005:3: Can't compile regular expression - (href="[^"]*(?:?Mar 6 13:19:56 tmm tmm[1545]: 01220001:3: TCL error: Link_Scrub_v8 - couldn't compile regular expression pattern: quantifier operand invalidIllegal argument (line 1) invoked from within "STREAM::expression {@href="[^"]*(?
Any ideas? In the first log message it shows regex code that is different when what I have and you can see that in the second message. Very weird.