Jerome Louvel <contact <at> noelios.com> writes: > The current URI Template draf doesn't specify how to parse an URI based on a > pattern, but I've submitted a related suggestion to the author, they may > consider it in a later release.
Hi Jerome, I am curious in reading more about your proposal for URI parsing? I had to devise something similar in a project I worked earlier this year, but I felt I could have been simpler. It would be nice if a single URI template could be used both for expanding URIs but also parsing (something like http://example.org/{a:[a-zA-Z0-9_+-]+}/ where the left side, i.e. to the left of ':', is used for the expanding and the right side for parsing. regards, -- yuri

