# |
Aug 10th 2008, 08:28 |
primeminister |
exactly! thnx |
# |
Aug 10th 2008, 08:28 |
achew22 |
primeminister: sorry I can't do more but that is a good start |
# |
Aug 10th 2008, 08:28 |
kalileo |
golak: :) |
# |
Aug 10th 2008, 08:28 |
primeminister |
achew22: thnx |
# |
Aug 10th 2008, 08:28 |
primeminister |
I will take a look into the core, write a test and submit a ticket if necessary. |
# |
Aug 10th 2008, 08:27 |
primeminister |
yep |
# |
Aug 10th 2008, 08:27 |
achew22 |
why is it matching on that regexp |
# |
Aug 10th 2008, 08:27 |
achew22 |
primeminister: that's the real question |
# |
Aug 10th 2008, 08:27 |
primeminister |
achew22: but then still it shouldn't match |
# |
Aug 10th 2008, 08:26 |
golak |
kalileo: thanks it working |
# |
Aug 10th 2008, 08:26 |
achew22 |
turns it into /pastes/:[12][0-9]{3}/(0[1-9]|1[012])/(0[1-9]|[12][0-9]|3[01]) and then does a regexp removal |
# |
Aug 10th 2008, 08:26 |
primeminister |
achew22: I think I will take a look into those core libs of the routing stuff |
# |
Aug 10th 2008, 08:26 |
achew22 |
it takes /pasteis/:year/:month/:day |
# |
Aug 10th 2008, 08:25 |
achew22 |
I'm going to make a guess that it throws those vars in |
# |
Aug 10th 2008, 08:25 |
primeminister |
pfew! :) |
# |
Aug 10th 2008, 08:25 |
primeminister |
ah ok ;) |
# |
Aug 10th 2008, 08:25 |
achew22 |
it shouldnt' do that |
# |
Aug 10th 2008, 08:25 |
primeminister |
ok, I know greedy expr ., but in this situation I don't iunderstand |
# |
Aug 10th 2008, 08:25 |
achew22 |
greedy expression my friend |
# |
Aug 10th 2008, 08:25 |
primeminister |
year=2008, month=09 day=09 |
# |
Aug 10th 2008, 08:24 |
achew22 |
or 09? |
# |
Aug 10th 2008, 08:24 |
achew22 |
08? |
# |
Aug 10th 2008, 08:24 |
primeminister |
achew22: yep same |
# |
Aug 10th 2008, 08:24 |
primeminister |
only the month and year I want |
# |
Aug 10th 2008, 08:24 |
achew22 |
try /2008/09 |
# |
Aug 10th 2008, 08:24 |
primeminister |
and not /2008/08/08 |
# |
Aug 10th 2008, 08:24 |
primeminister |
yeah |
# |
Aug 10th 2008, 08:24 |
achew22 |
2008/08 |
# |
Aug 10th 2008, 08:23 |
achew22 |
your going to /pasties/08/08 right? |
# |
Aug 10th 2008, 08:22 |
achew22 |
each is a different regular expression so it is going to pull from the wrong spot |
# |
Aug 10th 2008, 08:22 |
primeminister |
hmmm |
# |
Aug 10th 2008, 08:22 |
achew22 |
its a greedy expression |
# |
Aug 10th 2008, 08:22 |
primeminister |
achew22: yeah, the day it is, while I fill in /2008/08 and not 2008/08/08 |
# |
Aug 10th 2008, 08:21 |
achew22 |
so its defaulting day to 8? |
# |
Aug 10th 2008, 08:21 |
primeminister |
but it is strange... |
# |
Aug 10th 2008, 08:21 |
primeminister |
) ah! |
# |
Aug 10th 2008, 08:21 |
achew22 |
that's the starting date for the olympics |
# |
Aug 10th 2008, 08:21 |
primeminister |
olympics? |
# |
Aug 10th 2008, 08:21 |
achew22 |
doing good |
# |
Aug 10th 2008, 08:21 |
primeminister |
achew22: Hi mate! how are you? |
# |
Aug 10th 2008, 08:20 |
achew22 |
primeminister: maybe it likes the olympics? |