func unicode/utf8.DecodeLastRuneInString
13 uses
unicode/utf8 (current package)
utf8.go#L287: func DecodeLastRuneInString(s string) (r rune, size int) {
regexp
regexp.go#L412: r1, _ = utf8.DecodeLastRuneInString(i.str[:pos])
src.elv.sh/pkg/cli/tk
codearea.go#L253: r, _ := utf8.DecodeLastRuneInString(a)
codearea.go#L260: r1, _ := utf8.DecodeLastRuneInString(c.Content[:len(c.Content)-len(a)-triggerLen])
codearea.go#L305: _, chop := utf8.DecodeLastRuneInString(c.Content[:c.Dot])
src.elv.sh/pkg/edit
builtins.go#L305: _, w := utf8.DecodeLastRuneInString(buffer[:dot])
builtins.go#L545: r, _ := utf8.DecodeLastRuneInString(left)
src.elv.sh/pkg/eval/vals
index_string.go#L50: r, _ := utf8.DecodeLastRuneInString(s)
src.elv.sh/pkg/glob
parse.go#L90: _, s := utf8.DecodeLastRuneInString(ps.src[:ps.pos])
src.elv.sh/pkg/parse
parser.go#L99: _, s := utf8.DecodeLastRuneInString(ps.src[:ps.pos])
strings
strings.go#L206: r, size := utf8.DecodeLastRuneInString(s[:i])
strings.go#L215: r, size := utf8.DecodeLastRuneInString(s[:i])
strings.go#L785: r, size := utf8.DecodeLastRuneInString(s[0:i])