mirror of
https://github.com/openstreetmap/openstreetmap-website.git
synced 2025-08-16 17:07:06 +00:00

Uses negative lookbehind regexp, because .truncate calls .rindex. See ruby String#rindex method for details: https://ruby-doc.org/3.2.6/String.html#method-i-rindex