perl-Complete-Util - General completion routine

Edit Package perl-Complete-Util

This package provides some generic completion routines that follow the Complete convention. (If you are looking for bash/shell tab completion routines, take a look at the See Also section.) The main routine is 'complete_array_elem' which tries to complete a word using choices from elements of supplied array. For example:

complete_array_elem(word => "a", array => ["apple", "apricot", "banana"]);

The routine will first try a simple substring prefix matching. If that fails, will try some other methods like word-mode, character-mode, or fuzzy matching. These methods can be disabled using settings.

There are other utility routines e.g. for converting completion answer structure from hash to array/array to hash, combine or modify answer, etc. These routines are usually used by the other more specific or higher-level completion modules.

Refresh
Refresh
Source Files
Filename Size Changed
Complete-Util-0.619.tar.gz 0000035613 34.8 KB
cpanspec.yml 0000000923 923 Bytes
perl-Complete-Util.changes 0000002369 2.31 KB
perl-Complete-Util.spec 0000002785 2.72 KB
Revision 5 (latest revision is 7)
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 1136593 from Tina Müller's avatar Tina Müller (tinita) (revision 5)
- updated to 0.619
   see /usr/share/doc/packages/perl-Complete-Util/Changes
  0.619   2023-12-26  Released-By: PERLANCAR; Urgency: medium
          - Add functions: get_answer_words(), get_answer_summaries().
  0.618   2023-12-01  Released-By: PERLANCAR; Urgency: medium
          - Add function: complete_hash_value.
Comments 0
openSUSE Build Service is sponsored by