[clug-talk] regex fu not strong enough

Patrick Radtke pradtke at gmail.com
Wed Jun 9 11:10:26 PDT 2010


What language?
They each have their own peculiarities with regex.

On Wed, Jun 9, 2010 at 11:16 AM, Andrew Anderson
<andrew at a2-technologies.com> wrote:
> 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.
> _______________________________________________
> clug-talk mailing list
> clug-talk at clug.ca
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying
>



More information about the clug-talk mailing list