[sword-devel] diatheke search type regex and the dot ?

Karl Kleinpaste karl at kleinpaste.org
Mon Mar 6 17:52:50 MST 2017


On 03/06/2017 05:25 PM, Greg Hellings wrote:
> being off by 2 would seem strange to me
I don't understand this question at all.

0xE2 = 226 = 0342
0x80 = 128 = 0200
0x93 = 147 = 0223

There's no off-by error at all.

"od" is the "octal dump" tool; given -c, it tries to dump characters,
but outside 7-bit ASCII, it still dumps octal.

For those familiar with dc(1), this will make sense
$ dc
8o
226p
342
128p
200
147p
223
16i
0XE2p
342
0X80p
200
0X93p
223

The interesting questions are why C++11 regex can't find /en dash/, and
why non-C++11 regex doesn't understand multibyte.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20170306/9d4b1091/attachment-0001.html>


More information about the sword-devel mailing list