Am 04.08.15 um 13:34 schrieb Marcus Kemper via Pharo-users:
Hi Marcus,
I am slowly getting what Teapot does...
So you setup an Association with a String that matches the URL of an
incoming request as key and its handler block as value. So you should be
able to use "req at: #r" also when using the Regex as matching criteria.
Once you confirm this, the ordering is neither relevant nor a problem
for you and you can go forward. Just forget about indexed access to
request data for the future.
Please let us know if access by symbols works for you.
Joachim
--
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel mailto:jtuc...@objektfabrik.de
Fliederweg 1 http://www.objektfabrik.de
D-71640 Ludwigsburg http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0 Fax: +49 7141 56 10 86 1