Giter Club home page Giter Club logo

Comments (2)

derimagia avatar derimagia commented on July 17, 2024

Been following what you were doing in your own branch. ~/.grc is already checked actually. See what I'm doing for my dotfiles here: https://github.com/derimagia/dotfiles/tree/4d934b68ed89d808011a237477e4e3dcbee48d0a/.grc

Check out:

grc/grc

Line 76 in 71c6c70

home = [os.environ['HOME']+"/.grc/grc.conf"]

I was thinking about making a "grc extras" repo actually

from grc.

HidekiAI avatar HidekiAI commented on July 17, 2024

Although performance-wise, it would probably be undesirable (i.e. on large log files, or doing 'grc tail -F'), having some plugin/modules (well, really, a library) of regex rules that commonly are used (i.e. IPv4, IPv6, FQDN hostname, file paths, URI, etc) would be nice so when an expression of regexp that had bug gets fixed, it is at single location/file that resolves it (of course, I can imagine the file dependencies nightmare of Lib1 including Lib2 which includes Lib1, etc).

Alternatively, it would also be nice to be able to call external commands to do the matching (again, performance would probably be horrible) for performance, in particular, IPv6 regex can become really hairy if one wants to handle all expressions (i.e. able to handle things like '2001:db8::192:168:1:1%eth0' or 'https://[2001:db8::2]:8080').

from grc.

Related Issues (20)

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.