Hi, As some of you may know, I am currently working on a version of XWiki for mobile devices. I have been investigating the possibility of running some parts of XWiki on a J2ME - CDC PP configuration. During this process I have noticed that XWiki uses two different api for matching regular expressions: * Jakarta ORO * java.util.regex ( JDK > 1.4 ) Because j2me does not have the java.util.regex classes, I have made some small changes so that the core of XWiki only uses Jakarta ORO, so I can continue my tests. Yet, I think these changes (see attached patch) may be of a more general interest because: * it might be cleaner to stick to a single regex lib * this patch factors some of the regex handling on an encapsulating class that would allow us to change the regex underlying implementation more easily. What do you think? Regards, Pablo