Skip to content

Search: find PascalCase, pascalcase and case at the same time #6632

@wofsauge

Description

@wofsauge

Context

No response

Bug description

When searching a whole word that got separated using the "separator" feature of the search plugin, it doesnt get displayed in the search results.

Example Text on website: "TestExample"
Searching "example" works.
Searching "test" works.
Searching "testexample" doesnt work.

Related links

Reproduction

9.5.3-seperator-search-full-words.zip

Steps to reproduce

we have a markdown page, that contains words with CamelCase.

When using the following search terms, we expect it to always find a result:

Search term Search results Comment
test 2 Results works
header 1 Result ( FirstExampleHeader ) works
firstexample 0 Results Doesnt find anything despite it being the start of a H2 object text
FirstExampleHeader 0 Results Doesnt find anything despite it being a H2 object text
AnotherTest 0 Results Doesnt find anything despite it being a H2 object text

Browser

No response

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    change requestIssue requests a new feature or improvement

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions