mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-27 14:39:40 -08:00
93d20d2d2b
The fuzzy library didn't try to find a "best match", but settled on the first fuzzy match that exists. This patch includes a modified version of the fuzzy library, which recursivley tries on the rest of the search string to find a better match. If found, returns that one. Another small modification is that if a pattern fully matches, it skips the lookup entirley and returns the highest score possible for that match. |
||
---|---|---|
.. | ||
bootstrap-3.3.1 | ||
bootstrap3-typeahead | ||
eonasdan-bootstrap-datetimepicker | ||
fuzzy | ||
js | ||
moment | ||
mustache | ||
rickshaw |