[squeak-dev] The Trunk: Regex-Core-tpr.85.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Jan 16 02:02:42 UTC 2023


tim Rowledge uploaded a new version of Regex-Core to project The Trunk:
http://source.squeak.org/trunk/Regex-Core-tpr.85.mcz

==================== Summary ====================

Name: Regex-Core-tpr.85
Author: tpr
Time: 15 January 2023, 6:02:40.963166 pm
UUID: 8b64a0db-b5f5-447d-ac45-35bc7e07fbec
Ancestors: Regex-Core-ct.84

Remove some variable shadowing

=============== Diff against Regex-Core-ct.84 ===============

Item was changed:
  ----- Method: RxMatcher>>copy:replacingMatchesWith: (in category 'match enumeration') -----
  copy: aString replacingMatchesWith: replacementString
  	"Copy <aString>, except for the matches. Replace each match with <aString>."
  
+ 	^String new: (aString size min: 1000) streamContents: [ :strm |
- 	^String new: (aString size min: 1000) streamContents: [ :stream |
  		self
  			copyStream: aString readStream
+ 			to: strm
- 			to: stream
  			replacingMatchesWith: replacementString ]!



More information about the Squeak-dev mailing list