Certainly we could adopt the Cocoon model of pluggable matchers; I just
used the wildcard matcher as it is easy and straight forward.  Using
complex pattern matching like Perl5-compatible regex as the default would
be more difficult for the average developer and my guess not necessary
for most cases.

Don

On Thu, 15 Jan 2004, Joe Germuska wrote:

> Since Struts already depends on jakarta-oro, is there a reason not to
> use it for doing pattern-based mapping, rather than the home-grown
> methodology that's in the current builds?
>
> I don't have a use case for it yet, but since I was a perl hacker
> before I came to Java, I speak regex reasonably fluently, so it seems
> to me more useful to have the full power of regular expressions
> available.
>
> If there are strong feelings in favor of the status quo, I think it
> would be easy enough to make "matcherClassName" a property of
> ModuleConfigImpl and support pluggable matchers.
>
> I guess technically, only Validator depends on jakarta-oro; I might
> be persuaded that that's a reason to keep from adding it to the core,
> maybe...
>
> Joe
>
> --
> Joe Germuska
> [EMAIL PROTECTED]
> http://blog.germuska.com
>        "Imagine if every Thursday your shoes exploded if you tied them
> the usual way.  This happens to us all the time with computers, and
> nobody thinks of complaining."
>              -- Jef Raskin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

Reply via email to