MangaDex: replace matchEntire with matches (#13743)
This commit is contained in:
parent
d2f3587d8c
commit
806856965e
|
@ -68,7 +68,7 @@ class MangaDexHelper(private val lang: String) {
|
||||||
/**
|
/**
|
||||||
* Check if the string is a valid uuid
|
* Check if the string is a valid uuid
|
||||||
*/
|
*/
|
||||||
fun isUuid(text: String) = MDConstants.uuidRegex.matchEntire(text) != null
|
fun isUuid(text: String) = MDConstants.uuidRegex matches text
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the manga offset pages are 1 based, so subtract 1
|
* Get the manga offset pages are 1 based, so subtract 1
|
||||||
|
|
Loading…
Reference in New Issue