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

akosyakov picture akosyakov  路  3Comments

andreymarchenko picture andreymarchenko  路  3Comments

Kedyn picture Kedyn  路  3Comments

PinkyJie picture PinkyJie  路  3Comments

zeegin picture zeegin  路  3Comments