Joerg Heinicke wrote:
On 18.05.2004 15:11, [EMAIL PROTECTED] wrote:

so <map:match type="regexp" > should work.


<map:match type="regexphost" > indeed works (for other expressions)


The working of different expressions depend on the regexp implementation in use. In Cocoon it's either Apache Jakarta RegExp, Apache Jakarta Oro or Sun JDK RegExp.

For the matcher the Jakarta RegExp package is in use:
http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/java/org/apache/cocoon/matching/AbstractRegexpMatcher.java?rev=1.4&view=markup



[1] <http://www.zvon.org/other/PerlTutorial/Output/example23.html>


While Jakarta Oro claims Perl5 compatibility Jakarta RegExp does not.

If you need Perl5 compatibility you probably have to write your own matcher.


Thanks a lot for clarification. I guess I will stick to the standards.


-- [EMAIL PROTECTED]


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



Reply via email to