Giter VIP home page Giter VIP logo

Comments (2)

vchrizz avatar vchrizz commented on August 18, 2024

Thank you for your proposed change.
I'm not quite sure why you get a syntax error, could you please show the exact error you get or tell how to reproduce the issue?
For me the current code works and usually a literal space in a regular expression should work.

from er-wizard-wireguard.

chjohans avatar chjohans commented on August 18, 2024

I did, and now I no longer get any syntax errors. You're of course right that a literal spaced, like any liter al characters, is perfectly valid in a regular expression.

The \s is not the same though, as it will match any whitespace character. Not that that fact should matter here.
I did hours of debugging before I found that those two lines gave a syntax error on my system,m (ER Lite with 2.0.9-hotfix2). As strange as it might seem, after making those changes it worked just fine.

Now it's back working again, even without those changes, so I don't know what caused this and I see no point in digging deeper to find out either. The only thing I've changed on my side is that I've upgraded to 2.0.9-hotfix4.

Thanks for making this available!

from er-wizard-wireguard.

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.