fix regex on on-open-file

This commit is contained in:
David Botton 2024-07-11 09:49:24 -04:00
parent 9076566aae
commit be0001da76

View file

@ -87,8 +87,8 @@
(window-focus win)))
(when regex
(focus (window-param win))
(js-execute win (format nil "~A.find('~A',{caseSensitive:false,regExp:true})"
(clog-ace::js-ace (window-param win)) regex)))
(js-execute obj (format nil "~A.find({regExp:true,needle:'~A',caseSensitive:false})"
(clog-ace::js-ace (window-param win)) (escape-string regex))))
(when show-find
(clog-ace:execute-command (window-param win) "find"))
win)