Commit Graph

35 Commits

Author SHA1 Message Date
Pascal Kuthe
c7893db4b4
fix Unicode substring match requiring exact match 2023-12-22 20:04:20 +01:00
Pascal Kuthe
2a0fe11e39
release version 0.3.0 2023-12-22 19:44:50 +01:00
Pascal Kuthe
34553f009d
fix substring matching Unicode haystacks (#34) 2023-12-22 19:32:42 +01:00
Pascal Kuthe
1edf451192
Correctly handle normalization in pattern API 2023-12-22 19:31:34 +01:00
Riccardo Mazzarini
b41c989daf
fix short circuiting logic when doing exact matches (#32)
* fix short circuiting logic in the `exact` module

* add tests for single char needles

* add bugfix to the CHANGELOG
2023-12-17 17:27:10 +01:00
Pascal Kuthe
74d789c8e3
Merge pull request #28 from blinxen/master 2023-10-15 22:22:27 +02:00
blinxen
9454f25325 Fix linter errors 2023-10-15 20:46:27 +02:00
blinxen
dfb9c997d3 Remove unused dependency 2023-10-15 20:15:20 +02:00
blinxen
b52199cd75 Symlink license file in subcrate
The published crate on crates.io does not contain a license file
This is required for Fedora packaging (and probably other distributions)
2023-10-15 20:05:05 +02:00
Tudyx
2abe133a94
add typos-rs to ci (#24) 2023-09-10 21:54:40 +02:00
Pascal Kuthe
8b22bc28cb
feature gate unicode support in nucleo-matcher 2023-08-29 15:01:17 +02:00
Pascal Kuthe
20bf02f0ac
Prepare for 0.2 release
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2023-08-29 00:17:04 +02:00
Pascal Kuthe
de844d6ace
move pattern API to nucleo-matcher 2023-08-28 02:56:08 +02:00
Pascal Kuthe
3e48c9f1ee
fix clippy lint 2023-08-28 01:51:23 +02:00
Pascal Kuthe
648dec1ceb
move Utf32String to nucleo-matcher 2023-08-28 01:51:23 +02:00
Pascal Kuthe
14014ed883
reformat with rustfmt 1.71 2023-08-28 01:51:22 +02:00
Pascal Kuthe
b38fdfa8d7
add option to prefer prefix matches 2023-08-28 01:51:20 +02:00
Pascal Kuthe
272f2bc971
publish temporary release to crates.io 2023-08-11 18:31:14 +02:00
Pascal Kuthe
4fc0281dd7
correctly handle empty strings and strip leading and trailing whitespace 2023-08-06 19:59:28 +02:00
Pascal Kuthe
6b08991fac
test pattrn parsing and fix edgecases 2023-08-06 14:43:56 +02:00
Michael Davis
f73a1988f2
Remove unused modules/files 2023-08-05 10:33:17 -05:00
Michael Davis
b4f547b0f4
Fix typos 2023-08-05 10:33:17 -05:00
Michael Davis
00a5b24c21
Fix 'cargo docs' warnings 2023-08-04 11:41:24 -05:00
Michael Davis
def0cb23cb
Resolve clippy warnings 2023-08-04 11:34:23 -05:00
Pascal Kuthe
91a265eb6b
expose last matched pattern to allow correct index rendering 2023-08-03 20:34:42 +02:00
Pascal Kuthe
af2c1e190c
enable chunk based bonuses
These are pedantically speaking not 100% correct but in practice
the edge cases where these cause issues are basically impossible
to trigger
2023-08-03 20:27:57 +02:00
Pascal Kuthe
6dcfb41545
update README 2023-08-03 02:34:49 +02:00
Pascal Kuthe
4f59b0fb91
fix substring matching 2023-08-03 00:59:24 +02:00
Pascal Kuthe
960441f3b2
Deprioritize camel case
This change avoids scoring camel case higher than other casing
2023-08-03 00:28:46 +02:00
Pascal Kuthe
2cbb46e738
Treat colon as path delimiter 2023-07-30 16:51:49 +02:00
Pascal Kuthe
1cb902ccdb
Grapheme segment input and match on first grapheme char 2023-07-30 16:48:15 +02:00
Pascal Kuthe
1ce8850f7e
cleanup bugs 2023-07-30 04:52:44 +02:00
Pascal Kuthe
6b8ee0f585
progress on high level API 2023-07-29 21:43:02 +02:00
Pascal Kuthe
39982dc81a
snapshot 2023-07-28 18:03:09 +02:00
Pascal Kuthe
8d7a149b30
move matcher to subcrate 2023-07-26 15:32:04 +02:00