Skip to content

Empty index query: Improve error explanation? #110

@traud

Description

@traud

My Regular Expression (RegEx), explained on debian-devel, returns:

Error: Loading search result package list failed:
This query was refused by the server: Empty index query

works: \x2f\x2a\x40\x7d avoids escaping errors (HTML, RegEx engine, you never know)
works: /\*@} escape for the star required
works: /\*\s+@} at least one whitespace character between /* and @}
not: /\*\s*@} whitespace optional
not: [^/]//\s*@} same issue but C++ style comment pattern, like //@}

Going through the underlying Bachelor thesis, the search tree has problems with optional whitespace, I guess. In my case, I worked around it by searching without whitespace and again with at least one whitespace. Anyway, is it possible to improve the error massage, for example by linking to the Bachelor thesis (or by explaining the search tree stuff in short form), when RegEx was selected?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions