From 81d553cf8cc51ebd1f7a8f9d1d936d04ae8a0409 Mon Sep 17 00:00:00 2001 From: Matija Nalis Date: Mon, 24 Jun 2024 02:14:45 +0200 Subject: [PATCH] document regex due to #47 --- .../main/java/fr/free/nrw/commons/category/CategoriesModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/fr/free/nrw/commons/category/CategoriesModel.kt b/app/src/main/java/fr/free/nrw/commons/category/CategoriesModel.kt index 99448a22b..5816ebb08 100644 --- a/app/src/main/java/fr/free/nrw/commons/category/CategoriesModel.kt +++ b/app/src/main/java/fr/free/nrw/commons/category/CategoriesModel.kt @@ -40,7 +40,7 @@ class CategoriesModel @Inject constructor( val prevYearInString = prevYear.toString() Timber.d("Previous year: %s", prevYearInString) - //Check if item contains a 4-digit word anywhere within the string (.* is wildcard) + //Check if item contains a 4-digit word anywhere within the string (.* is wildcard) (Issue #47) //And that item does not equal the current year or previous year //And if it is an irrelevant category such as Media_needing_categories_as_of_16_June_2017(Issue #750) //Check if the year in the form of XX(X)0s is relevant, i.e. in the 2000s or 2010s as stated in Issue #1029