[ 
https://issues.apache.org/jira/browse/JSPWIKI-291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656639#action_12656639
 ] 

Janne Jalkanen commented on JSPWIKI-291:
----------------------------------------

I think it would be dangerous to change the patterns in any public config files 
or wikipages.  It could have adverse effects which would be invisible to the 
user.   (For example, if someone had a pattern like "Bug*", it would mean 
completely different things...)

However, it's probably not very complicated to make a Glob-to-Perl5 regexp 
translator.  I think that's how ORO handles them internally - and since it's 
Apache code, we could easily lift that bit of code from it.

Globs are also useful because they are so much more user-friendly than Perl5 
regexps.  They're not as powerful, but they are much simpler to explain.

> Replace ORO regexp library with Java 5 regexps
> ----------------------------------------------
>
>                 Key: JSPWIKI-291
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-291
>             Project: JSPWiki
>          Issue Type: Task
>          Components: Core & storage, Filters, Plugins
>            Reporter: Janne Jalkanen
>            Priority: Trivial
>             Fix For: 3.0
>
>         Attachments: denouncePlugin.patch
>
>
> Now that Java has a good regexp library, it might be a good idea to get rid 
> of the oro library, as it reduces our dependencies of external libraries.  
> This should be a relatively easy task, except when Glob patterns are being 
> used, or when oro-specific regexps are used.
> No particular release is targeted; whenever we got time.  This would be a 
> nice low-hanging fruit for someone to start contributing to JSPWiki with...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to