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

          Priority: medium
            Bug ID: 72757
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: Hungarian grammar checking on long words freezes
                    Lightproof and LibreOffice
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: nem...@numbertext.org
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.1.3.2 release
         Component: Localization
           Product: LibreOffice

CPython freezes using the following regex on a long word:

([a-z]+)+foo

A similar regex of the Hungarian grammar checking rules (1) freezes Lightproof
grammar checking, and (2) trying to use other Python component (eg. LibreLogo)
in LibreOffice will freeze LibreOffice, too.

Testing:

1. write the following line in a Hungarian document with Hungarian dictionary
(it contains Hungarian grammar checking module) to test the work:

word ,

Lightproof will underline the space and comma.

2. freeze Python/Lightproof with the following line:

EEEJJJJJJJEEEEEEEJJJJJJJJEEEEEEEEJJJJJJJJEEEEEEJJJJJJJJEEEEE

3. check it:

word ,

Lightproof hasn't underlined the space and comma, yet.

4. freeze LibreOffice:

Click on one of the icons of the LibreLogo toolbar (Writer View->Toolbars....)

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

Reply via email to