[squeak-dev] The Inbox: Regex-Tests-Core-ct.20.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon Aug 23 16:45:43 UTC 2021
A new version of Regex-Tests-Core was added to project The Inbox:
http://source.squeak.org/inbox/Regex-Tests-Core-ct.20.mcz
==================== Summary ====================
Name: Regex-Tests-Core-ct.20
Author: ct
Time: 23 August 2021, 6:45:42.149768 pm
UUID: 3fc8dc7d-04bf-df4c-a615-63645e7150fc
Ancestors: Regex-Tests-Core-mt.16
Adds regression test for captured lookaround expressions.
=============== Diff against Regex-Tests-Core-mt.16 ===============
Item was added:
+ ----- Method: RxParserTest>>testNoCapturingOfLookarounds (in category 'tests') -----
+ testNoCapturingOfLookarounds
+
+ | matcher |
+ matcher := '(?<=a)(?<!!c)(b)(?=c)(?!!b)' asRegex.
+ self assert: (matcher search: 'abc').
+ self assert: 2 equals: matcher subexpressionCount.
+ self assert: #('b') equals: (matcher subexpressions: 2)!
More information about the Squeak-dev
mailing list
|