Mantis - Squeak Packages
Viewing Issue Advanced Details
1597 VBRegex minor always 08-02-05 22:47 07-04-08 22:00
danie  
 
normal  
feedback  
open  
none    
none  
0001597: 'a' matchesRegexIgnoringCase: 'a' throws DNU
Using any string with length one with the prefixTester will break, Character>>sameAs: doesn't exist in standard 3.8.

Attached is a mcz that fixes that.
related to 0006476closed Keith_Hodges Squeak Load 3.9 Monticello & PackageInfo into versions <= 3.8 
 VB-Regex-danie.3.mcz [^] (64,151 bytes) 08-02-05 22:47

Notes
(0002090)
KenCausey   
08-02-05 22:51   
Here is the original bug report, just for the record:

Ragnar Hojland Espinosa <ragnar.hojland@linalco.com>:

"It is used by Rexeg. Try evaluating the following for a MNU.

'a' matchesRegexIgnoringCase: 'a'

which I guess can be fixed in the Regex package, or in Character
(since there's already a String>>sameAs:)

Character>>sameAs: aChar
sameAs: aCharacter
        "Answer whether the receiver is equal to aCharacter, ignoring case"
        ^ (self asLowercase = aCharacter asLowercase)"
(0002091)
MarcusDenker   
08-02-05 22:59   
I added Character>>sameAs: to 3.9... but maybe it would be good to fix the package (or 3.8), too.
(0012341)
Keith_Hodges   
07-04-08 21:51   
Character-sameAs: is added to LevelPlayingField for <=38