Fix linting warnings
This commit is contained in:
@@ -2,8 +2,10 @@ package be.simplenotes.app.utils
|
||||
|
||||
import be.simplenotes.domain.usecases.search.SearchTerms
|
||||
|
||||
private fun innerRegex(name: String) = """$name:['"](.*?)['"]""".toRegex()
|
||||
private fun outerRegex(name: String) = """($name:['"].*?['"])""".toRegex()
|
||||
private fun innerRegex(name: String) =
|
||||
"""$name:['"](.*?)['"]""".toRegex()
|
||||
private fun outerRegex(name: String) =
|
||||
"""($name:['"].*?['"])""".toRegex()
|
||||
|
||||
private val titleRe = innerRegex("title")
|
||||
private val outerTitleRe = outerRegex("title")
|
||||
|
||||
Reference in New Issue
Block a user