diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-08-07 22:27:23 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-08-07 22:27:23 +0200 |
| commit | 2b4a550d432e5e570bb888ce06440a825c2e2e7c (patch) | |
| tree | 20ffcd1ebc90f2c7d07cad7b10581c27b69ee038 /README.md | |
| parent | bec4efe8bbc2956b026438611f9340349d980388 (diff) | |
| download | vis-2b4a550d432e5e570bb888ce06440a825c2e2e7c.tar.gz vis-2b4a550d432e5e570bb888ce06440a825c2e2e7c.tar.xz | |
text-regex: improve searching in binary data
The regex(3) API we currently use, matches on NUL terminated strings.
Therefore it does not work for binary data. This commit adds loops
to manually skip over NUL bytes. While it does not work for patterns
which would match strings containing NUL bytes, it should improve the
most basic cases.
Binary file handling will need further improvements in the future.
Fixes #359.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
