mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-23 06:28:07 +00:00
Disable the "literal" option when regex search is enabled (#14936)
GitOrigin-RevId: 0710c60b517cfda19037215c076878c65c418396
This commit is contained in:
parent
d1cfc5a783
commit
db76d1c316
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ const CodeMirrorSearchForm: FC = () => {
|
|||
replace: data.replace as string,
|
||||
caseSensitive: data.caseSensitive === 'on',
|
||||
regexp: data.regexp === 'on',
|
||||
literal: true,
|
||||
literal: data.regexp !== 'on',
|
||||
wholeWord: data.wholeWord === 'on',
|
||||
scope: getStoredSelection(view.state)?.ranges,
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue