[squeak-dev] The Trunk: Regex-Tests-Core-ct.15.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Oct 5 18:08:00 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.15.mcz
==================== Summary ====================
Name: Regex-Tests-Core-ct.15
Author: ct
Time: 8 July 2021, 1:31:08.27536 am
UUID: 5f4cb449-e92d-5142-ac1f-bc593d05a1e9
Ancestors: Regex-Tests-Core-ct.12
Tests #escapeRegex from Regex-Core-ct.61.
=============== Diff against Regex-Tests-Core-ct.12 ===============
Item was added:
+ ----- Method: RxParserTest>>testEscapeString (in category 'tests') -----
+ testEscapeString
+
+ | string |
+ string := 'Hello world, how are you? (This is a test - special characters *very much* intended \-.-/ )'.
+ self assert: (string matchesRegex: string escapeRegex).
+ self assert: (string includesSubstring: 'Hello world, how are you?')
+ "no all-out escaping"!
More information about the Squeak-dev
mailing list
|