[squeak-dev] The Inbox: Regex-Tests-Core-tobe.13.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Aug 12 09:28:42 UTC 2021


A new version of Regex-Tests-Core was added to project The Inbox:
http://source.squeak.org/inbox/Regex-Tests-Core-tobe.13.mcz

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

Name: Regex-Tests-Core-tobe.13
Author: tobe
Time: 12 August 2021, 11:28:42.158361 am
UUID: 2ae5d8ba-6382-4b3b-9a07-7e10d0889a2c
Ancestors: Regex-Tests-Core-ct.12

Complements Regex-Core-tobe.60

=============== Diff against Regex-Tests-Core-ct.12 ===============

Item was added:
+ ----- Method: RxParserTest>>testCharacterSetWithEscapedAndRange (in category 'tests') -----
+ testCharacterSetWithEscapedAndRange
+ 
+ 	" two examples of where a - should not parse as a range "
+ 	self assert: ('[\+-]' asRegex matches: '+').
+ 	self assert: ('[\+\-]' asRegex matches: '-').
+ 	
+ 	" construct a range from an escaped + (43) to digit 4 (52) "
+ 	self assert: ('[\+-4]' asRegex matches: '3')!



More information about the Squeak-dev mailing list