[pcre-dev] [Bug 1208] Case folding in PCRE

Top Page
Delete this message
Author: Zoltan Herczeg
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1208] Case folding in PCRE
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1208




--- Comment #9 from Zoltan Herczeg <hzmester@???> 2012-02-10 13:33:07 ---
I agree that we should start with single characters, and later we may try to
address SS. I would prefer one opcode for all such cases: OP_MULTICHAR IMM2
pair, which points a location in the multi-character table. The table would be
an int array, which would be a concatenation of sub-lists. A sub-list starts
with its length, followed by the characters which are equal in caseless form.
This list could also contain \h and \v as well.

(σ, ς) -> Σ question: Does a caseless σ matches to ς?


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email