On Feb 13, Pablo Oliveira wrote :
And some places where we should optimize the regex
handling:
for example this code in XWikiDocument.java:
[...]
is really inneficient since we construct a list with all the html
matches in the document when a single match would have accomplished
the desired result.
Created issue XWIKI-862 with attached patch for this (using
java.util.regex).
Pablo