On Fri, Sep 19, 2003 at 03:55:09AM +0200, Martin Nilsson (saturator) @ Pike (-) developers forum wrote:
you use the utf-8 API, as you suggested. I don't have a good opinion yet if the configure should refuse to recognize PCRE without utf-8 support as a valid PCRE lib (as I said I never got this far).
The better would be to add an option (a flag?) to test if there is a wide string support, or even an exception if wide string is passed while there is no support.
BTW, is there any (draft) description of its API? :) It would be pity to have something restricted to existing API (match() without indication where it is found).
And... Hmm... I recall something related to utf-8 and PCRE... :)
---snip--- From: "Per Hedbor () @ Pike (-) developers forum" 10353@lyskom.lysator.liu.se Date: Wed, 29 Jan 2003 18:15:01 +0100 (CET)
Converting to and from UTF-8 is anything but light-weight, also, accessing and matching in UTF-8 strings is not O(1). ---snip---
No offense... :) But that was one (may be last) objection against :)
Regards, /Al