[clug-talk] regex fu not strong enough

Andrew Anderson andrew at a2-technologies.com
Wed Jun 9 10:16:37 PDT 2010


Can anyone shed some light for me. 

I have two regex chunks that work well separately.

(^(?!(RSS)) --- and --- [^?*/TabId/](\d+)(.*)

As some of you may surmise this is a urlrewrite problem. 

My problem is that I need the overall statement to be true only if both of
the individuals are true.

I have tried to use the (?ifthen|else) conditional.... 

(?(^(?!(RSS)))([^?*/TabId/](\d+)(.*)))

 

but it's laughing in my face.... my regex fu isn't strong enough.

Anyone have ideas?

 


-- 
This message has been scanned for viruses and dangerous content by the Cistra MailScanner and is believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://clug.ca/pipermail/clug-talk_clug.ca/attachments/20100609/2e67672e/attachment.html>


More information about the clug-talk mailing list