[squeak-dev] The Trunk: Regex-Core-mt.61.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Aug 13 10:30:57 UTC 2021


Marcel Taeumel uploaded a new version of Regex-Core to project The Trunk:
http://source.squeak.org/trunk/Regex-Core-mt.61.mcz

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

Name: Regex-Core-mt.61
Author: mt
Time: 13 August 2021, 12:30:55.775724 pm
UUID: 866793bc-45be-f944-887d-f1b359e7b85b
Ancestors: Regex-Core-ct.60, Regex-Core-tobe.60

Merge

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

Item was changed:
  ----- Method: RxCharSetParser>>parseEscapeChar (in category 'parsing') -----
  parseEscapeChar
  
+ 	| first |
  	self match: $\.
+ 	first := (RxsPredicate forEscapedLetter: lookahead)
+ 		ifNil: [ RxsCharacter with: lookahead ].
+ 	self next == $- ifFalse: [^ elements add: first].
+ 	self next ifNil: [
+ 		elements add: first.
+ 		^ self addChar: $-].
+ 	self addRangeFrom: first character to: lookahead.
- 	elements add: ((RxsPredicate forEscapedLetter: lookahead)
- 		ifNil: [ RxsCharacter with: lookahead ]).
  	self next!



More information about the Squeak-dev mailing list