79110570

Date: 2024-10-21 14:51:47
Score: 0.5
Natty:
Report link

Made an account to point out you can use a third-party package to handle possessive quantifiers for you. As of 2024, it appears to be regularly updated.
It would apply to the question like this:

    const regex = require("regex");

    const defaultRouteRegex = regex`/\/{1}+/`;
    app.get(defaultRouteRegex, function (req, res) {
        res.render("index"); 
    });
Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: qosqos