From: Colin P. A. <co...@co...> - 2007-02-05 06:43:47
|
>>>>> "Eric" == Eric Bezault <er...@go...> writes: Eric> I must confess that I don't know what you are talking about Eric> with "these kind of tests". Are you talking about \i and \c? Yes. And also the more general \p{property_name}. Assuming we could implement it in the first place (I don't see how that could be done by translation, so it would have to be an extension). Suppose property_name is Upper_Case. Then because we are matching against the UTF-8 byte-stream, the engine would produce matches based on whether or not the individual bytes were upper-case in the Latin-1 character set, rather than if the Unicode characters were upper case. For an extreme example, imagine a propery Is_Latin_1 (I don't think there is such a property, but it#s a nice example). The engine will then match the entire string for any input whatsoever! -- Colin Adams Preston Lancashire |