Christoph Thiede uploaded a new version of Regex-Tests-Core to project The Trunk: http://source.squeak.org/trunk/Regex-Tests-Core-ct.21.mcz
==================== Summary ====================
Name: Regex-Tests-Core-ct.21 Author: ct Time: 23 August 2021, 6:58:40.775768 pm UUID: 0a406c4c-99bb-d845-a7d9-29ccad2a8717 Ancestors: Regex-Tests-Core-mt.16
Adds regression tests for quantifier sequences.
Note that in theory, it could be possible to support things like a++, but this would require a redesign of the parser, so for the moment, let's be at least consistent with this limitation. (In the current trunk, 'a+{2}' asRegex matches: 'a{2}'.)
=============== Diff against Regex-Tests-Core-mt.16 ===============
Item was added: + ----- Method: RxParserTest>>testQuantifierSequence (in category 'tests') ----- + testQuantifierSequence + + self + should: ['a??' asRegex] raise: RegexSyntaxError; + should: ['a++' asRegex] raise: RegexSyntaxError; + should: ['a**' asRegex] raise: RegexSyntaxError; + should: ['a{1,2}{3,4}' asRegex] raise: RegexSyntaxError. + + self + should: ['a?{1,2}' asRegex] raise: RegexSyntaxError.!
packages@lists.squeakfoundation.org