[squeak-dev] The Inbox: Regex-Tests-Core-tobe.17.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon Oct 18 10:55:29 UTC 2021
A new version of Regex-Tests-Core was added to project The Inbox:
http://source.squeak.org/inbox/Regex-Tests-Core-tobe.17.mcz
==================== Summary ====================
Name: Regex-Tests-Core-tobe.17
Author: tobe
Time: 18 October 2021, 12:55:28.901096 pm
UUID: 90469785-1d7b-489c-a2a3-3772ca4a45fd
Ancestors: Regex-Tests-Core-mt.16
Complements Regex-Core-tobe.62
=============== Diff against Regex-Tests-Core-mt.16 ===============
Item was added:
+ ----- Method: RxParserTest>>testUnicode (in category 'tests') -----
+ testUnicode
+
+ " should match if we have four hex characters "
+ self assert: ('A' matchesRegex: '\u0041').
+ self assert: ('Aa' matchesRegex: '\u0041a').
+ self assert: ('m' matchesRegex: '\u006D').
+ self assert: ('m' matchesRegex: '\u006d').
+ self assert: ('m' matchesRegex: '[\u006d]').
+ self assert: ('n' matchesRegex: '[\u006d-\u006f]').
+ self assert: ('A' matchesRegex: '[\u006d-\u006fA]').
+
+ " otherwise, should take the characters literally "
+ self assert: ('u004' matchesRegex: '\u004').
+ self assert: ('u0g41' matchesRegex: '\u0g41')!
More information about the Squeak-dev
mailing list
|