help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] [bug] regex doesn't support i (ignorecase) flag


From: Paolo Bonzini
Subject: [Help-smalltalk] [bug] regex doesn't support i (ignorecase) flag
Date: Tue, 02 Oct 2007 00:21:56 -0700

Issue status update for http://smalltalk.gnu.org/project/issue/85 Post a follow up: http://smalltalk.gnu.org/project/comments/add/85

Project:      GNU Smalltalk
Version:      <none>
Component:    VM
Category:     bug reports
Priority:     normal
Assigned to:  Unassigned
Reported by:  S11001001
Updated by:   bonzinip
Status:       patch

   *  Assume ASCII.  regex.c already effectively assumes that strings
are somewhat ASCII-compatible, and this wouldn't bias in favor of a
particular ASCII superset.

I believe this is the best.

   *  Assume Latin-1.  This has the benefit of offering a clear
behavior path to future support for matching full Unicode strings, so
it's what the patch uses.

Not really, because UTF-8 is not a superset of Latin-1.  All of eastern
Europe, plus Greece, plus most of Africa/Asia/Australia do not use
Latin-1.

If you don't mind some conflicts, I can adapt the patch you attached. Otherwise, you can do the change yourself and I'll cherrypick both
changesets.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]