Giter Site home page Giter Site logo

commonloon102 / regexfilesearcher Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 6.0 539 KB

Cross-platform regex file searching tool in .NET 5

License: GNU General Public License v3.0

C# 100.00%
regex file-search cross-platform-gui eto regular-expressions linux regexes net5 dotnet

regexfilesearcher's People

Contributors

commonloon102 avatar n0-fun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

regexfilesearcher's Issues

Add an option for maximum file size limit

Regex operates on text, not binaries. As such, the current implementation simply reads the entire file into one string object.
While this approach avoids issues arising from buffered reading (such as a potential regex match getting cut-off), it poses a problem when a large file is encountered during file search.
This could be solved by allowing the user to specify a maximum file size, beyond which a file would be ignored.
A sane default, such as 5 MB would be preferred. See discussion.

README.md: Debug build on Mac instead of release

The building process should create a binary what is built in release mode.
The README.md should be updated to publish the app on Mac instead of building it in debug mode.
Is it possible to build it on Mac in a similar way what we have now for Linux?

Something like this should work:

dotnet publish RegexFileSearcher/RegexFileSearcher.Mac/RegexFileSearcher.Mac.csproj --configuration Release --output publish --self-contained false --runtime osx-x64 --framework netcoreapp3.1

Invalid regex

Warn the user that the regex is invalid instead of crashing the app.

Search in compressed files

Add option to search in compressed files.
In this case, the search would take place in compressed files (e.g.: zip, gz, bz2, etc.; whatever we would support) too.
Inside the compressed file, only those files would be searched where the filename would match the pattern provided by the user (if any).

Regex timeout controls improvements

This issue tracks changes that fix visibility issues of regex timeout settings.
In particular, the following issues will be addressed:

  • Misalignment of NumericStepper and labels.
  • Timeout value getting cut-off on high DPI setting because it is measured in thousands of milliseconds.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.