Giter VIP home page Giter VIP logo

Comments (5)

arosequist avatar arosequist commented on May 22, 2024

Yes, this seems to fail on Windows.

I think the simplest solution might be to replace (re-pattern File/separator) with something like (Pattern/compile File/separator Pattern/LITERAL), where Pattern is java.util.regex.Pattern. I haven't had a chance to test it, though.

from pedestal.

avescodes avatar avescodes commented on May 22, 2024

I'm going to try and put together a patch once I settle in at the airport. I'll call on you windows folks to test things out for me as I won't have a windows machine on hand.

Ryan Neufeld

On Tuesday, March 19, 2013 at 8:32 PM, arosequist wrote:

Yes, this seems to fail on Windows.
I think the simplest solution might be to replace (re-pattern File/separator) with something like (Pattern. File/separator Pattern/LITERAL), where Pattern is java.util.regex.Pattern. I haven't had a chance to test it, though.


Reply to this email directly or view it on GitHub (#23 (comment)).

from pedestal.

avescodes avatar avescodes commented on May 22, 2024

@arosequist, I have your suggestion on a fork+branch of my own rkneufeld/pedestal. I want to make sure the changes actually work and add some dependency-injection/tests. I have to wait until the weekend though, as I don't have a windows box/vm at work.

from pedestal.

djpowell avatar djpowell commented on May 22, 2024

@rkneufeld that fix doesn't work for me - I get a NullPointerException with (Pattern/compile "\\" Pattern/LITERAL)

(re-pattern (Pattern/quote "\\")) works however.

from pedestal.

avescodes avatar avescodes commented on May 22, 2024

This should be resolved on master now. If you'd like to immediately pick up this change run lein sub install from the root of the pedestal repository and change any application dependencies to version "0.1.2-SNAPSHOT"

from pedestal.

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.