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

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

The reason why testCCLinkWithScandics() fails is that in Java, \p{Upper} 
matches only US-ASCII.  You need to match against the Unicode upper case class, 
which is \p{Lu}.

Check out the java.util.regexp.Pattern javadoc, java.lang.Character javadoc, 
and also the Unicode categories at 
http://www.unicode.org/versions/Unicode4.0.0/ch04.pdf, that should all make it 
clear :-)



> 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
>            Assignee: Harry Metske
>            Priority: Trivial
>             Fix For: 3.0
>
>         Attachments: denouncePlugin.patch, JSPWiki-291.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