Marcel Taeumel uploaded a new version of Regex-Tests-Core to project The Trunk: http://source.squeak.org/trunk/Regex-Tests-Core-mt.35.mcz
==================== Summary ====================
Name: Regex-Tests-Core-mt.35 Author: mt Time: 21 December 2023, 5:11:41.06102 pm UUID: 26ba76e8-4b6e-6149-91f7-112ce481f547 Ancestors: Regex-Tests-Core-mt.34
Now that we had an extra checkpoint in the update map, this clean-up of Regex tests should actually work.
Revive #testBackQuotesEscape as expected failure. Is this okay?
=============== Diff against Regex-Tests-Core-mt.34 ===============
Item was removed: - ----- Method: RxParserTest>>DoesNotWorktestBackQuotesEscape (in category 'tests') ----- - DoesNotWorktestBackQuotesEscape - "self debug: #testBackQuotesEscape" - - "Regular expressions can also include the following backquote escapes - to refer to popular classes of characters: - \w any word constituent character (same as [a-zA-Z0-9:=]) - \W any character but a word constituent - \d a digit (same as [0-9]) - \D anything but a digit - \s a whitespace character - \S anything but a whitespace character - These escapes are also allowed in character classes: '[\w+-]' means - 'any character that is either a word constituent, or a plus, or a - minus'." - - self assert: ('one word' matchesRegex: '\w'). - - self assert: ('one' matchesRegex: '\w'). - !
Item was changed: ----- Method: RxParserTest>>expectedFailures (in category 'failures') ----- expectedFailures
+ ^ #(testBackQuotesEscape)! - ^ #(testOptionalLookbehind2)!
Item was added: + ----- Method: RxParserTest>>testBackQuotesEscape (in category 'tests') ----- + testBackQuotesEscape + "self debug: #testBackQuotesEscape" + + "Regular expressions can also include the following backquote escapes + to refer to popular classes of characters: + \w any word constituent character (same as [a-zA-Z0-9:=]) + \W any character but a word constituent + \d a digit (same as [0-9]) + \D anything but a digit + \s a whitespace character + \S anything but a whitespace character + These escapes are also allowed in character classes: '[\w+-]' means + 'any character that is either a word constituent, or a plus, or a + minus'." + + self assert: ('one word' matchesRegex: '\w'). + + self assert: ('one' matchesRegex: '\w'). + !
Item was removed: - ----- Method: RxParserTest>>testOptionalLookbehind2 (in category 'tests') ----- - testOptionalLookbehind2 - - self assert: [('AB' allRegexMatches: '((?<=a)b)?') asArray = #('A')].!
Item was removed: - ----- Method: RxParserTest>>toDotestSpecialCharacterInSetRange (in category 'tests') ----- - toDotestSpecialCharacterInSetRange - "self debug: #testSpecialCharacterInSetRange" - - "Special characters within a set are `^', `-', and `]' that closes the - set. Below are the examples of how to literally use them in a set: - [01^] -- put the caret anywhere except the beginning - [01-] -- put the dash as the last character - []01] -- put the closing bracket as the first character - [^]01] (thus, empty and universal sets cannot be specified)" - - self assert: ('0' matchesRegex: '[01^]'). - - self assert: ('0' matchesRegex: '[0-9]'). - !
packages@lists.squeakfoundation.org