filter

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchListNameExactNormalized

func MatchListNameExactNormalized(input, stored string) bool

MatchListNameExactNormalized 使用规范化后的精确匹配。

func MatchQueryText

func MatchQueryText(task *model.Task, query string) bool

MatchQueryText 关键字文本匹配(AND 语义): query 按空白切词,每个词都必须在任务聚合文本中出现。

func NormalizeListName

func NormalizeListName(s string) string

NormalizeListName 规范化清单名称: - 去首尾空白 - 移除 emoji/符号 - 保留中英文、数字、空格 - 压缩连续空白 - ASCII 小写化

func VisibleRuneCount

func VisibleRuneCount(s string) int

VisibleRuneCount 仅用于测试/调试,返回字符串中的可见 rune 数。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL