[squeak-dev] The Trunk: Regex-Tests-Core-ct.31.mcz
commits at source.squeak.org
commits at source.squeak.org
Tue Oct 11 13:09:25 UTC 2022
Christoph Thiede uploaded a new version of Regex-Tests-Core to project The Trunk:
http://source.squeak.org/trunk/Regex-Tests-Core-ct.31.mcz
==================== Summary ====================
Name: Regex-Tests-Core-ct.31
Author: ct
Time: 11 October 2022, 3:09:23.668455 pm
UUID: 51089b71-6a6f-e946-bed5-3ca4a2c5c44e
Ancestors: Regex-Tests-Core-ct.30
Adds regression test for lookarounds with branches. Fixed via Regex-Core-ct.79.
=============== Diff against Regex-Tests-Core-ct.30 ===============
Item was added:
+ ----- Method: RxParserTest>>testLookaroundBranch (in category 'tests') -----
+ testLookaroundBranch
+
+ self assert: ('(?=a|b).' asRegex matches: 'a').
+ self assert: ('(?=a|b).' asRegex matches: 'b').
+ self assert: ('.(?<=a|b)' asRegex matches: 'a').
+ self assert: ('.(?<=a|b)' asRegex matches: 'b').!
More information about the Squeak-dev
mailing list
|