[squeak-dev] The Trunk: Regex-Tests-Core-tobe.13.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri Aug 13 10:32:04 UTC 2021
Marcel Taeumel uploaded a new version of Regex-Tests-Core to project The Trunk:
http://source.squeak.org/trunk/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
|