Package: libre-engine-re2-perl / 0.18+ds-2
Metadata
Package | Version | Patches format |
---|---|---|
libre-engine-re2-perl | 0.18+ds-2 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
1003_utf8_flag.patch | (download) |
re2_xs.cc |
8 5 + 3 - 0 ! |
force treat scanned string as utf-8 when compiled regex is utf8 re::engine::RE2 is documented (in BUGS section of README) to not handle UTF-8 correctly. . Without this patch, scanning Latin1 string with UTF-8 regex reports wrong positions or potentially crashes, and misses e.g. "" (which Perl re engine correctly matches). . With this patch, scanning UTF-8 string with UTF-8 regex should behave correctly, and still misses e.g. "". . Scanning should be safer and more correct for UTF-8 strings, with only known side-effect of being slower for non-UTF-8 strings due to always upgrading string to UTF-8. For faster scanning of known ASCII string, use an ASCII regex. |
2001_system_shared_lib.patch | (download) |
Makefile.PL |
116 2 + 114 - 0 ! |
use system shared libre2 |
1