hanickadot / compile-time-regular-expressions

Compile Time Regular Expression in C++
https://twitter.com/hankadusikova
Apache License 2.0
3.32k stars 183 forks source link

Fix incorrect UTF-16 surrogate pair conversion #237

Closed louiswins closed 2 years ago

louiswins commented 2 years ago

Conversion of a UTF-16 surrogate pair to the corresponding codepoint was missing the addition of 0x10000.

Fixes #236.

hanickadot commented 2 years ago

Thanks very much!