Bug ID: 116146
           Summary: EDITING - Index "Search term" does not accept regular
           Product: LibreOffice
           Version: release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer

"Search term" in a concordance file, i.e. a .sdi file, does not accept regular
expression and if one is put in, the whole row is ignored.


Dennett(?!, however);Dennett, Daniel;;;;
(?<!with )Daniel(?! .2| A);Dennett, Daniel;;;;

In the above example, the last two rows will be ignored, although they will
show up in the "Edit Concordance File" dialogue box.

To fix this issue, at least two things need to be addressed:

1- To make the "search term" behave exactly as a search term behaves in the
"Find & Replace" function, and to use the same code-base for both of them.

2- To allow regular expression to be enabled in "search term" cells of a
concordance file as an option. This can be set in the "Table of Contents, Index
or Bibliography" dialogue box as an option the same way it appears in the "Find
& Replace" dialogue box, which will make the whole indexing process much

This fix will give LibreOffice a boost and flexibility and will make external
indexing software almost unnecessary (to make those external software
completely unnecessary, LibreOffice needs to gain ways to exclude pages and
words from the index, needs to be able to undo changes made in the text by the
index functions, needs to be able to update the index when new words are typed,
and so on).

As it stands now, the Index function is almost useless, since there is no way
to exclude pages or word combinations and lots and lots of junk gets into the
final index that cannot be cleaned up easily. Regular expression will allow
terms to be excluded (as shown in the examples above).

You are receiving this mail because:
You are the assignee for the bug.
Libreoffice-bugs mailing list

Reply via email to