Hello,

For your information, let me explain about regexp support.

Daniel Kahn Gillmor <d...@fifthhorseman.net> wrote:
>  regexp/_unicode_mapping.c                          |   284 +
[...]
> Maybe the right (and more up-to-date) solution is to build-depend on
> unicode-data, strip both this file and UnicodeData.txt in
> debian/clean, and patch to generate this file from
> /usr/share/unicode/UnicodeData.txt instead.

The regexp subdirectory was introduced to support POSIX regexp functions
on Windows.  The intention is providing same behavior among GnuPG on
different Operating Systems.  Historically, regexp in OpenPGP had been
not supported by Windows versions of GnuPG; In the past, when a user
switched his Operating System from common POSIX one to Windows, it
stopped working.

If it is only for Debian, possibly, we can simply use POSIX regexp
functions in the C library, perhaps.

There are corner cases for regexp matching among different regexp
functions support and Unicode versions.

Strictly speaking about a data specification, it would be more acculate
to specify exact Unicode version explicitly in the OpenPGP standard.
-- 

Reply via email to