GithubHelp home page GithubHelp logo

Comments (3)

rvantonder avatar rvantonder commented on May 18, 2024

Hi 👋

This is almost certainly because the pattern starts with :[_], which unlike grep or line-based matching, will match across newlines (i.e., entire chunks of the file) before hitting the << part. This is a known behavior (there's a documentation tip for about it) and a warning was added in a recent release #147 to warn on this type of pattern.

My guess is that if your use case is somewhat line based, starting the pattern with something like :[_.] would work better (see reference, but it may not be sufficient for your use case depending on what the expression looks like--if so, let me know, this is still an active area of improvement).

from comby.

rvantonder avatar rvantonder commented on May 18, 2024

@flaviut closing this for now. Future syntax improvements will help avoid the slow behavior.

from comby.

flaviut avatar flaviut commented on May 18, 2024

Understood--apologies for not getting back to you earlier, I read your message but didn't get around to replying.

Very cool project, thank you for starting it and all the time you put into it :)

from comby.

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.