<commit_before>from django.conf.urls import url

from .views import api_v3_view

urlpatterns = [
    url(r'^api/v3(?P<path>[a-z0-9/-]+)$', api_v3_view, name='api_v3_view'),
]<commit_msg>backend: remove trailing slash eg. /api/v3/mimicon-2018/<commit_after>from django.conf.urls import url

from .views import api_v3_view

urlpatterns = [
    url(r'^api/v3(?P<path>[a-z0-9/-]+?)/?$', api_v3_view, name='api_v3_view'),
]
{'fraction_non_alphanumeric': 0.18660287081339713, 'fraction_numerical': 0.04066985645933014, 'mean_word_length': 5.072463768115942, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5287142', 'n_tokens_mistral': 189, 'n_tokens_neox': 178, 'n_words': 29}