First, I just want to say that I am very very impressed with Apache::ASP.  I
just want to gush with praise after looking at many other implementations of
perl embedded code and being very underwhelmed.  This is so damn slick and
clean.  Kudos!

Now for my question: I'd like Apache::ASP (version 2.29) to respond to
multiple namespaces, but the regex doesn't seem to work.

If I do this: 

        PerlSetVar XMLSubsMatch (dbb|ccc):\w+

then 'ccc' tags get matched.  If I do:

        PerlSetVar XMLSubsMatch (ccc|dbb):\w+

then only 'dbb' tags get matched.  Thinking that it might be the parens that
are capturing the matched string and screwing up the ASP code, I tried the
extended perl regex:

        PerlSetVar XMLSubsMatch (?:ccc|dbb):\w+

But then neither tag matches.

The only thing that works is

        PerlSetVar XMLSubsMatch [cd][cb][cb]:\w+

This is truly wierd.  Anyone know what's going on?  It would be nice to
write a regex with a little better readability.

-d


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to