Thai tone marks and vowels at the end of the search term is wrongly removed. (#29071)
Co-authored-by: sukoom pornsuksiri <sukoom@mm.co.th>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
2e13cbb84d
Коммит
f0280d6dd4
@@ -11,7 +11,7 @@ import (
|
||||
)
|
||||
|
||||
var searchTermPuncStart = regexp.MustCompile(`^[^\pL\d\s#"]+`)
|
||||
var searchTermPuncEnd = regexp.MustCompile(`[^\pL\d\s*"]+$`)
|
||||
var searchTermPuncEnd = regexp.MustCompile(`[^\pL\p{M}\d\s*"]+$`)
|
||||
|
||||
type SearchParams struct {
|
||||
Terms string `json:"terms,omitempty"`
|
||||
|
||||
Ссылка в новой задаче
Block a user