madjar / nox

Tools to make nix nicer to use
MIT License
308 stars 35 forks source link

Use regex for search #61

Closed lheckemann closed 7 years ago

lheckemann commented 7 years ago

What it says on the box. This can be useful for finding whole words, e.g. nox '\besr\b' instead of nox esr which yields a lot of potentially unwanted results. It also adds back the ability to force a case-sensitive search (starting from python 3.6) using (?-i:...).

lheckemann commented 7 years ago

@madjar rebased against master to fix the conflict, any other problems with this?

madjar commented 7 years ago

@lheckemann No troubles, just me having to make a pause in my merging spree to understand what the code I wrote a long time ago actually meant :)

Thanks for the PR! I'll merge some more, and make a release in the next few days.