URL patterns use an extremely simple syntax. Every character in a pattern must match the corresponding character in the URL path exactly, with two exceptions. At the end of a pattern, /* matches any sequence of characters from that point forward. The pattern *.extension matches any file name ending with extension. No other wildcards are supported, and an asterisk at any other position in the pattern is not a wildcard.
First, the container prefers an exact path match over a wildcard path match. Second, the container prefers to match the longest pattern. Third, the container prefers path matches over filetype matches. Finally, the pattern <url-pattern>/</url-pattern> always matches any request that no other pattern matches
P. Talukdar, T. Brants, M. Liberman, и F. Pereira. Proceedings of the Tenth Conference on Computational Natural Language Learning (CoNLL-X), стр. 141--148. New York City, Association for Computational Linguistics, (июня 2006)
F. Ciravegna. Proceedings of the 17th international joint conference on Artificial intelligence - Volume 2, стр. 1251--1256. San Francisco, CA, USA, Morgan Kaufmann Publishers Inc., (2001)
Y. Chan, и D. Roth. Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies - Volume 1, стр. 551--560. Stroudsburg, PA, USA, Association for Computational Linguistics, (2011)