Disable the "literal" option when regex search is enabled (#14936)
GitOrigin-RevId: 0710c60b517cfda19037215c076878c65c418396
This commit is contained in:
+1
-1
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user