Code Monkey home page Code Monkey logo

Comments (5)

yoniholmes avatar yoniholmes commented on July 17, 2024

Hi Karim, thanks for raising this. Nothing's changed about the plugin for a good while, so not sure what might be going wrong. FYI I'm pretty stacked at the moment, so can't look at this immediately, but will try when I can. If you get any further with investigations let me know.

Thanks again,

Jonathan

from grunt-text-replace.

karimbeyrouti avatar karimbeyrouti commented on July 17, 2024

Thank you Jonathan, currently looking into it - and not finding anything obvious. Will let you know if I get to the bottom of this.

from grunt-text-replace.

karimbeyrouti avatar karimbeyrouti commented on July 17, 2024

Interestingly enough - this looks like a windows issue. The same script works on OSX - with same version of Node & Grunt ...

from grunt-text-replace.

gabrielmaldi avatar gabrielmaldi commented on July 17, 2024

I had the same issue and it turned out to be that my RegExp was trying to match newlines in a way that worked in OS X but didn't in Windows.

from grunt-text-replace.

Rainbowlemon avatar Rainbowlemon commented on July 17, 2024

I'm just playing around with this now, and it seems the plugin isn't matching spaces properly. I'm trying to read a json file, manifest.json, using a function call and a grunt.log to see what's going on (it would be great if this plugin outputted what was changed!), and when I try and match \"version\" it works fine, but when I try and match \"version\" with a space it does nothing.

from grunt-text-replace.

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.