Merge remote-tracking branch 'origin/HEAD'

pull/410/head
Vitor Pamplona 2023-05-14 18:12:16 -04:00
commit 3fd4c176e8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -335,7 +335,7 @@ private fun SearchBar(accountViewModel: AccountViewModel, navController: NavCont
}
}
val hashtagSearch = Pattern.compile("(?:\\s|\\A)#([A-Za-z0-9_\\-]+)")
val hashtagSearch = Pattern.compile("(?:\\s|\\A)#([^\\s!@#\$%^&*()=+./,\\[{\\]};:'\"?><]+)")
fun findHashtags(content: String): List<String> {
val matcher = hashtagSearch.matcher(content)