[squeak-dev] The Inbox: Regex-Tests-Core-ct.19.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Aug 23 16:36:37 UTC 2021


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

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

Name: Regex-Tests-Core-ct.19
Author: ct
Time: 23 August 2021, 6:36:36.398768 pm
UUID: 12052a95-a680-f842-99a8-254172c7d526
Ancestors: Regex-Tests-Core-mt.16

Tests non-capturing groups. Complements Regex-Core-ct.63.

=============== Diff against Regex-Tests-Core-mt.16 ===============

Item was added:
+ ----- Method: RxMatcherTest>>testCapturingGroup (in category 'testing') -----
+ testCapturingGroup
+ 
+ 	self runRegex: #('(a)(b)c'
+ 		'c' false nil
+ 		'abc' true (1 'abc' 2 'a' 3 'b')
+ 		'eabcd' true (1 'abc' 2 'a' 3 'b')).
+ 	self flag: #tests. "ct: It might be helpful to test subexpressionCount, too"!

Item was added:
+ ----- Method: RxMatcherTest>>testNonCapturingGroup (in category 'testing') -----
+ testNonCapturingGroup
+ 
+ 	self runRegex: #('(?:a)(b)c'
+ 		'bc' false nil
+ 		'abc' true (1 'abc' 2 'b')
+ 		'eabcd' true (1 'abc' 2 'b')).
+ 	self flag: #tests. "ct: It might be helpful to test subexpressionCount, too"!



More information about the Squeak-dev mailing list