This commit is contained in:
Gokcehan committed 2018-05-20 20:30:41 +03:00
1 parent 03b9fe0c5e
commit a85e0da9b0
12 files changed
+435 -428

No files matched your search

+3 -1
View File
@@ -195,6 +195,8 @@ func naturalLess(s1, s2 string) bool {
return len(parts1) < len(parts2)
}
var reAltKey = regexp.MustCompile(`<a-(.)>`)
var reWord = regexp.MustCompile(`(\pL|\pN)+`)
var reWordBeg = regexp.MustCompile(`([^\pL\pN]|^)(\pL|\pN)`)
var reWordEnd = regexp.MustCompile(`(\pL|\pN)([^\pL\pN]|$)`)
@@ -214,7 +216,7 @@ func max(a, b int) int {
}
// We don't need no generic code
// We don't need no thought control
// We don't need no type control
// No dark templates in compiler
// Haskell leave them kids alone
// Hey Bjarne leave them kids alone