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
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)
M. Califf, и R. Mooney. Proceedings of the sixteenth national conference on Artificial intelligence and the eleventh Innovative applications of artificial intelligence conference innovative applications of artificial intelligence, стр. 328--334. Menlo Park, CA, USA, American Association for Artificial Intelligence, (1999)
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)