https://bugs.freedesktop.org/show_bug.cgi?id=79892

--- Comment #30 from Michael Meeks <[email protected]> ---
Interesting; we always call 'find':

static bool lcl_findRegex( RegexMatcher * pRegexMatcher, sal_Int32 nStartPos,
UErrorCode & rIcuErr )
{
    if (!pRegexMatcher->find( nStartPos, rIcuErr))

which searches all along the string for a match I believe:

http://icu-project.org/apiref/icu4c/classicu_1_1RegexMatcher.html#a50cce379741d692b8a4edc95e3145305

Which seems rather a shame for things that are starts_with regexps - but then
again; quite possibly this is not a 'starts with' regexp. It is entirely
possible that adding a '^' at the beginning of the match in the queries would
save a ton of time here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to