Hi All,

Just a note:
After upgrading to release of C2, I found that my application stop
working because of different regexp conventions.
Thus I had _working_ matcher

 <map:match type="regexp" pattern="(.*)\\.xm(i|l)\\.html">

Which in C2 release reported error ("No closing something..." Why?) and
should be replaced by

 <map:match type="regexp" pattern="(.*)\.xm(i|l)\.html">

So "java-like" backslash is processing now by cocoon.

And one related and quite confusing: I didn't use the feature in C2beta
(may be it was missing) - DirectoryGenerator param:

         <map:generate type="directory" src="...">
            <map:parameter name="exclude" value="see below" />
                ...

I want to exclude all entries, starting with '.'.
Why the following exp does not work: "\..*"
And this one works well: "^\..*"?

Why I must claim that '.' should be right after the line beginning?

Thanks!

Best wishes,
Nick


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to