Home | History | Annotate | Download | only in regexp

Lines Matching refs:utf8

75 	"unicode/utf8"
202 regexp.prefixRune, _ = utf8.DecodeRuneInString(regexp.prefix)
297 if c < utf8.RuneSelf {
300 return utf8.DecodeRuneInString(i.str[pos:])
322 if r1 >= utf8.RuneSelf {
323 r1, _ = utf8.DecodeLastRuneInString(i.str[:pos])
329 if r2 >= utf8.RuneSelf {
330 r2, _ = utf8.DecodeRuneInString(i.str[pos:])
344 if c < utf8.RuneSelf {
347 return utf8.DecodeRune(i.str[pos:])
369 if r1 >= utf8.RuneSelf {
370 r1, _ = utf8.DecodeLastRune(i.str[:pos])
376 if r2 >= utf8.RuneSelf {
377 r2, _ = utf8.DecodeRune(i.str[pos:])
550 _, width = utf8.DecodeRune(bsrc[searchPos:])
552 _, width = utf8.DecodeRuneInString(src[searchPos:])
617 return b < utf8.RuneSelf && specialBytes[b%16]&(1<<(b/16)) != 0
699 _, width = utf8.DecodeRuneInString(s[pos:end])
701 _, width = utf8.DecodeRune(b[pos:end])
892 rune, size := utf8.DecodeRuneInString(str[i:])