Skip to content

Commit

Permalink
Fix 2383 - whitelist unicode Roman numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
Famlam authored and frodrigo committed Nov 5, 2024
1 parent fcf08c5 commit e1d9cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analysers/analyser_osmosis_highway_name_close.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
'[-\\[\\]\\{{\\}}\\(\\)\"\\\\/]', '', 'g'),
'(1st|2nd|3rd|[04-9]th)( |$)', '_', 'g'),
'(1ra|2da|3ra|4ta|5ta|6ta|7ma|8va|9na|0ma|1er|2do|3ro|4to|5to|6to|7mo|8vo|9no|0mo)( |$)', '_', 'g'),
'[/.0-9\u0660-\u0669\u06F0-\u06F9]', ' ', 'g'),
'[/.0-9\u0660-\u0669\u06F0-\u06F9\u2160-\u2188]', ' ', 'g'), -- Numbers, Arabic numbers (u06**), Roman numbers (u21**)
'(^| )[a-zA-Z](?= |$)', '\\1', 'g'),
'(^| )[IVXLDCM]+(?= |$)', '\\1', 'g'),
' +', ' ', 'g')"""
Expand Down

0 comments on commit e1d9cf7

Please sign in to comment.