Monaco-editor: Add an option to enable "Use Regular Expressions" on the Find Widget

Created on 16 Jul 2018  路  2Comments  路  Source: microsoft/monaco-editor


monaco-editor version: 0.13.1

I would be really happy if there was an option to programmatically select the Use Regex option.

untitled

*question

Most helpful comment

There already is -

controller = editor.getContribution('editor.contrib.findController');
controller.toggleRegex();

All 2 comments

There already is -

controller = editor.getContribution('editor.contrib.findController');
controller.toggleRegex();

Thanks @brijeshb42, you're a life saver!
I wish there was more documentation and more examples on Monaco's website.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Raathigesh picture Raathigesh  路  41Comments

fdeitelhoff picture fdeitelhoff  路  24Comments

mbana picture mbana  路  18Comments

trstringer picture trstringer  路  25Comments

fzafiroski picture fzafiroski  路  21Comments