The Trunk: Regex-Tests-Core-pre.7.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Regex-Tests-Core-pre.7.mcz

commits-2
Patrick Rein uploaded a new version of Regex-Tests-Core to project The Trunk:
http://source.squeak.org/trunk/Regex-Tests-Core-pre.7.mcz

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

Name: Regex-Tests-Core-pre.7
Author: pre
Time: 20 May 2016, 9:37:58.012592 am
UUID: 6c249d10-f0eb-43b9-90af-38cab9d42f51
Ancestors: Regex-Tests-Core-pre.6

Extends the rxmatcher optional and quantified expressions tests according to Leventes suggestion to include all subexpressions matched

=============== Diff against Regex-Tests-Core-pre.6 ===============

Item was changed:
  ----- Method: RxMatcherTest>>testOptionalMultipleQuantifiedSubexpression (in category 'testing') -----
  testOptionalMultipleQuantifiedSubexpression
  <timeout: 0.1>
 
  self runRegex: #('((aa?){2})'
  '' false nil
  'a' false nil
  'aa' true (1 'aa')
+ 'baaa' true (1 'aaa' 2 'aaa'))!
- 'baaa' true (2 'aaa'))!

Item was changed:
  ----- Method: RxMatcherTest>>testOptionalNestedIntoMultipleQuantified (in category 'testing') -----
  testOptionalNestedIntoMultipleQuantified
  <timeout: 0.1>
 
  self runRegex: #('(aa?){2}'
  '' false nil
  'a' false nil
  'aa' true (1 'aa')
+ 'baaa' true (1 'aaa' 2 'a'))!
- 'baaa' true (2 'a'))!