[squeak-dev] The Trunk: Regex-Tests-Core-mt.16.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri Aug 13 10:31:26 UTC 2021
Marcel Taeumel uploaded a new version of Regex-Tests-Core to project The Trunk:
http://source.squeak.org/trunk/Regex-Tests-Core-mt.16.mcz
==================== Summary ====================
Name: Regex-Tests-Core-mt.16
Author: mt
Time: 13 August 2021, 12:31:24.998724 pm
UUID: cde10f88-8cb5-a442-8d8c-6e53444970d2
Ancestors: Regex-Tests-Core-mt.15, Regex-Tests-Core-tobe.13
Merge
=============== Diff against Regex-Tests-Core-mt.15 ===============
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
|