]> git.openstreetmap.org Git - nominatim.git/commit
restrict postcode parsing in typed phrases
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 5 Mar 2025 09:08:07 +0000 (10:08 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 5 Mar 2025 09:09:33 +0000 (10:09 +0100)
commit6b0d58d9fdbd2e488f3dc408c1b7d8837710f6e6
tree2a8f667900bfa9164334f93c08298f23fbe9efba
parentafb89f9c7abab5aad234889a4e4426ac57a5b56c
restrict postcode parsing in typed phrases

Postcodes can only appear in postcode-type phrases and must then
cover the full phrase
src/nominatim_api/search/postcode_parser.py
test/python/api/search/test_postcode_parser.py