#41 locate: add --transliterate support using iconv to match accented
Opened by marcotrevisan. Modified
marcotrevisan/mlocate master  into  master

Download 41.patch

When enabled all search parameters and paths are transliterated and used for matching.

Fixes #40

3 new commits added

  • locate: don't even try to transliterate ascii strings
  • locate: transliterate strings by char and do it on valid results only
  • locate: ignore transliterated strings only with replacement chars

rebased onto f96e90ef35f2810b8b56868468d683c8f9290b1f

6 new commits added

  • locate: don't even try to transliterate ascii strings
  • locate: transliterate strings by char and do it on valid results only
  • locate: ignore transliterated strings only with replacement chars
  • locate: only add and check transliterated patterns if needed
  • doc: add -t / --transliterate to man page
  • locate: add --transliterate support using iconv to match accented

3 new commits added

  • locate: allocate less space for transliterated, realloc if needed
  • locate: only allocate memory if needed in transliteration
  • locate: take in account inlen value when transliterating string

10 new commits added

  • locate: escape transliterated meta chars if regex is enabled
  • locate: allocate less space for transliterated, realloc if needed
  • locate: only allocate memory if needed in transliteration
  • locate: take in account inlen value when transliterating string
  • locate: don't even try to transliterate ascii strings
  • locate: transliterate strings by char and do it on valid results only
  • locate: ignore transliterated strings only with replacement chars
  • locate: only add and check transliterated patterns if needed
  • doc: add -t / --transliterate to man page
  • locate: add --transliterate support using iconv to match accented

1 new commit added

  • locate: update test to match new help
Metadata