glob/match
Jakob Borg 1d823af501 Correctly handle non-ASCII runes in patterns (fixes #54)
When matching a row we calculate an index into the string, and this
index was in runes. However when slicing the string Go uses byte
indexes. This change tracks both, using the rune count to determine the
correct length and the byte index to slice the string.
2022-06-15 10:05:05 +02:00
..
debug fixes 2016-02-24 20:23:24 +03:00
any.go refactoring 2016-05-30 19:35:53 +03:00
any_of.go Avoid btree Index() call on pattern with separators. 2018-02-09 00:02:47 +03:00
any_of_test.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
any_test.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
btree.go travis: update go versions 2018-02-09 00:18:42 +03:00
btree_test.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
contains.go gofmt -s 2016-08-15 13:02:39 +09:00
contains_test.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
every_of.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
every_of_test.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
list.go refactoring 2016-05-30 19:35:53 +03:00
list_test.go optimizations with cached segments 2016-02-23 14:46:20 +03:00
match.go optimizations with cached segments 2016-02-23 14:46:20 +03:00
match_test.go gofmt -s 2016-08-15 13:02:39 +09:00
max.go gofmt -s 2016-08-15 13:02:39 +09:00
max_test.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
min.go gofmt -s 2016-08-15 13:02:39 +09:00
min_test.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
nothing.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
nothing_test.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
prefix.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
prefix_any.go Avoid btree Index() call on pattern with separators. 2018-02-09 00:02:47 +03:00
prefix_any_test.go Avoid btree Index() call on pattern with separators. 2018-02-09 00:02:47 +03:00
prefix_suffix.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
prefix_suffix_test.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
prefix_test.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
range.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
range_test.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
row.go Correctly handle non-ASCII runes in patterns (fixes #54) 2022-06-15 10:05:05 +02:00
row_test.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
segments.go cleanup 2016-02-24 23:10:13 +03:00
segments_test.go rename typo 2016-02-24 19:50:04 +03:00
single.go refactoring 2016-05-30 19:35:53 +03:00
single_test.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
suffix.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
suffix_any.go Avoid btree Index() call on pattern with separators. 2018-02-09 00:02:47 +03:00
suffix_any_test.go Avoid btree Index() call on pattern with separators. 2018-02-09 00:02:47 +03:00
suffix_test.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
super.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
super_test.go Use of constuctors every where, optimizations 2016-02-24 12:36:15 +03:00
text.go to string tunage 2016-02-25 00:42:26 +03:00
text_test.go acquire/release segments only when needed 2016-02-23 00:26:06 +03:00