vsc-cnst / SublimeTextFileFilter

Sublime Text plugin for filtering file content using regular expressions
MIT License
5 stars 1 forks source link

Case insensitive search #5

Closed reagle closed 2 weeks ago

reagle commented 2 weeks ago

How do I do case insensitive searches?

vsc-cnst commented 2 weeks ago

Hi,

You can use the (?aiLmsux-imsx:...) syntax to add flags.

Example:

As this is a python plug, you can follow python regex docs for detailed information.

reagle commented 2 weeks ago

You might want to include this on the README: I didn't know if I should use PCRE (which ST uses) or python flags. It'd also be nice to have a setting so I can set the default as insensitive.

vsc-cnst commented 2 weeks ago

It is already on the README I'll put in backlog a setting for global flgas

reagle commented 2 weeks ago

Sorry, I meant right at the start:

This plugin allows you to filter file content using Python regular expressions (RegExp) — it does not change the file content. ...

Features

  • File Filtering using Python RegExp