Skip to content

fix: respect isRegExp option in WorkspaceSearchProvider#757

Merged
CGNonofr merged 1 commit intoCodinGame:mainfrom
nk-coding:main
Jan 7, 2026
Merged

fix: respect isRegExp option in WorkspaceSearchProvider#757
CGNonofr merged 1 commit intoCodinGame:mainfrom
nk-coding:main

Conversation

@nk-coding
Copy link
Copy Markdown
Contributor

@nk-coding nk-coding commented Dec 19, 2025

Fixes #756

I tested it using the demo, seem to work fine

Note:
vscode sets multiline and unicode always to true, regardless of the parameters (https://github.com/microsoft/vscode/blob/eba6411f8aee3458c64046b5af0b68ea801fae40/src/vs/workbench/services/search/worker/localFileSearch.ts#L300C10-L300C28). I kept using the parameters here, like the previous implementation. I do not know which is the better approach

Edit: I guess this also fixes isWordMatch

@CGNonofr
Copy link
Copy Markdown
Contributor

CGNonofr commented Jan 7, 2026

Thanks!

@CGNonofr CGNonofr self-requested a review January 7, 2026 13:12
@CGNonofr CGNonofr merged commit 1add304 into CodinGame:main Jan 7, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 7, 2026

🎉 This PR is included in version 24.3.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WorkspaceSearchProvider always does regex search

2 participants