Skip to content

Commit

Permalink
fix bug from 2021 on edge case commit: b85950
Browse files Browse the repository at this point in the history
  • Loading branch information
LagradOst authored Dec 9, 2024
1 parent 54df562 commit 8e3d1e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ class ResultViewModel2 : ViewModel() {

private fun filterName(name: String?): String? {
if (name == null) return null
Regex("[eE]pisode [0-9]*(.*)").find(name)?.groupValues?.get(1)?.let {
Regex("^[eE]pisode [0-9]*(.*)").find(name)?.groupValues?.get(1)?.let {
if (it.isEmpty())
return null
}
Expand Down

0 comments on commit 8e3d1e1

Please sign in to comment.