github.com/primecitizens/pcz/std@v0.2.1/text/unicode/casetables.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  //
     4  // Copyright 2009 The Go Authors. All rights reserved.
     5  // Use of this source code is governed by a BSD-style
     6  // license that can be found in the LICENSE file.
     7  
     8  // TODO: This file contains the special casing rules for Turkish and Azeri only.
     9  // It should encompass all the languages with special casing rules
    10  // and be generated automatically, but that requires some API
    11  // development first.
    12  
    13  package unicode
    14  
    15  var TurkishCase SpecialCase = _TurkishCase
    16  var _TurkishCase = SpecialCase{
    17  	CaseRange{0x0049, 0x0049, d{0, 0x131 - 0x49, 0}},
    18  	CaseRange{0x0069, 0x0069, d{0x130 - 0x69, 0, 0x130 - 0x69}},
    19  	CaseRange{0x0130, 0x0130, d{0, 0x69 - 0x130, 0}},
    20  	CaseRange{0x0131, 0x0131, d{0x49 - 0x131, 0, 0x49 - 0x131}},
    21  }
    22  
    23  var AzeriCase SpecialCase = _TurkishCase