[squeak-dev] The Trunk: Regex-Tests-Core-ct.20.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Oct 5 18:08:38 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.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
|