URL match regex in example tile.js not matching #90

txau opened this Issue Mar 11, 2012 · 1 comment


None yet
2 participants

txau commented Mar 11, 2012

(line 5) matches = req.url.match(/(\d+)/(\d+)/(\d+)/g);

This is not working for me providing an url such as: http://host.com/1/1/1 (please correct me if I'm missing something)

It works perfectly with query string: http://host.com/?x=1&y=1&z=1

I've fixed it changing the expression to:

matches = req.url.match(/(\d+)/g);


This comment has been minimized.

Show comment
Hide comment

springmeyer Mar 12, 2012


okay, thanks I will take a look.


springmeyer commented Mar 12, 2012

okay, thanks I will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment