Coder Social home page Coder Social logo

Comments (3)

philipobenito avatar philipobenito commented on July 3, 2024

I'm a little confused about the use case. Unfortunately there is no way to use multiple pattern matches within the same URI segment.

You could write one regular expression that matches both parts but currently it's just going to be a bit of a broken regular expression so won't match the aguments.

from route.

floffel avatar floffel commented on July 3, 2024

In my special case I thought about a google-maps-style api use case, to have an request uri like this:

https://www.google.de/maps/search/@48.9174128,11.4079934,7z
https://www.google.de/maps/search/@lat,long,somenumber

Okay, I'll be honest: I don't know any other use cases at the moment (except splitting up too big regular expressions or something)...

I think I don't have the time (and knowledge at the moment) to implement it my self, so if it is too specified for you... please close this issue for me :)

from route.

philipobenito avatar philipobenito commented on July 3, 2024

If you send me an email I'll help you build a regular expression to suit your needs when I have time. philipobenito [at] gmail.com

from route.

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.