vendor/golang.org/x/text/unicode/norm/normalize.go
changeset 251 1c52a0eeb952
parent 242 2a9ec03fe5a1
child 265 05c40b36d3b2
equal deleted inserted replaced
250:c040f992052f 251:1c52a0eeb952
    27 // the bytes or string x converted to the given form.
    27 // the bytes or string x converted to the given form.
    28 // A position n in x is called a boundary if conversion to the form can
    28 // A position n in x is called a boundary if conversion to the form can
    29 // proceed independently on both sides:
    29 // proceed independently on both sides:
    30 //   f(x) == append(f(x[0:n]), f(x[n:])...)
    30 //   f(x) == append(f(x[0:n]), f(x[n:])...)
    31 //
    31 //
    32 // References: http://unicode.org/reports/tr15/ and
    32 // References: https://unicode.org/reports/tr15/ and
    33 // http://unicode.org/notes/tn5/.
    33 // https://unicode.org/notes/tn5/.
    34 type Form int
    34 type Form int
    35 
    35 
    36 const (
    36 const (
    37 	NFC Form = iota
    37 	NFC Form = iota
    38 	NFD
    38 	NFD