Patrick R. Michaud wrote:
On Sun, May 08, 2005 at 11:45:08PM +0200, Jens Rieks wrote:

Hi,

C<is_cclass> is now implemented. The second part (find_(not_)cclass) will follow tomorrow.

Wow, that's fast

The attached patch file adjusts C<is_cclass> to always return false for offsets beyond the end of the string, and updates t/op/string_cclass.t to test this.

I'll leave the patch to Jens.

As a side note:
If ENCODING_GET_CODEPOINT (and it's equivalent get_byte) returns 0x0 at the very end of the string (and throws an exception beyond it) would this catch the desired end-of-string semantics for character classes?


leo







Reply via email to