Skip to content

fix: use includes() in matches() for substring search#4

Open
NathanaelBeta wants to merge 1 commit into
mate-academy:mainfrom
NathanaelBeta:fix/matches-substring-search
Open

fix: use includes() in matches() for substring search#4
NathanaelBeta wants to merge 1 commit into
mate-academy:mainfrom
NathanaelBeta:fix/matches-substring-search

Conversation

@NathanaelBeta

Copy link
Copy Markdown

Replace strict equality with String.prototype.includes() so searching a term returns all notes containing it, not just exact matches. Also add notes.md documenting the fix.

Replace strict equality with String.prototype.includes() so searching a term returns all notes containing it, not just exact matches. Also add notes.md documenting the fix.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant