Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006841 [Squeak] Collections minor always 01-08-08 22:47 02-06-11 23:48
Reporter chl View Status public  
Assigned To leves
Priority normal Resolution fixed  
Status closed   Product Version 3.9
Summary 0006841: String>>startingAt:match:startingAt: should raise an error for '**' or '*#' - instead returns unexpected results
Description String>>startingAt:match:startingAt: should raise an error for '**' or '*#' occuring in the invocant. This is also stated in the methods comments. However the condition given is wrong, so the error is not thrown when it should be.
Tiny change in lines 31 and 34 of attached file fixes this.
Regards, Christoph
Additional Information
Attached Files  startingAt#match#startingAt#.txt [^] (1,906 bytes) 01-08-08 22:47

- Relationships

- Notes
(0011642 - 113 - 173 - 173 - 173 - 173 - 173)
chl
01-08-08 22:48

unexpected results were e.g.:


'*e' match: 'e'. "true"
'*#' match: 'e'. "false"
'**' match: 'e'. "false"
 
(0013935 - 28 - 28 - 28 - 28 - 28 - 28)
leves
11-16-10 05:48

Fixed in Collections-ul.407.
 

- Issue History
Date Modified Username Field Change
01-08-08 22:47 chl New Issue
01-08-08 22:47 chl File Added: startingAt#match#startingAt#.txt
01-08-08 22:48 chl Note Added: 0011642
11-16-10 05:48 leves Status new => resolved
11-16-10 05:48 leves Fixed in Version  => trunk
11-16-10 05:48 leves Resolution open => fixed
11-16-10 05:48 leves Assigned To  => leves
11-16-10 05:48 leves Note Added: 0013935
02-06-11 23:48 leves Status resolved => closed


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
43 total queries executed.
33 unique queries executed.
Powered by Mantis Bugtracker