<div dir="auto"><div>Why are there two exclamation marks? Or is this just some artifact of the diff print rooted in the file out format?</div><div dir="auto"><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr"> <<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>> schrieb am Fr., 6. März 2020, 19:15:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Christoph Thiede uploaded a new version of Regex-Tests-Core to project The Inbox:<br>
<a href="http://source.squeak.org/inbox/Regex-Tests-Core-ct.8.mcz" rel="noreferrer noreferrer" target="_blank">http://source.squeak.org/inbox/Regex-Tests-Core-ct.8.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Regex-Tests-Core-ct.8<br>
Author: ct<br>
Time: 6 March 2020, 7:15:36.127601 pm<br>
UUID: a4017713-04c0-c149-a7e1-43b1b62012e7<br>
Ancestors: Regex-Tests-Core-pre.7<br>
<br>
Adds and improves tests for positive and negative lookaheads. Complements Regex-Core-ct.55.<br>
<br>
=============== Diff against Regex-Tests-Core-pre.7 ===============<br>
<br>
Item was removed:<br>
- ----- Method: RxParserTest>>testLookaround (in category 'tests') -----<br>
- testLookaround<br>
-       self assert: ('A'   matchesRegex: '(?!!ABC).*').<br>
-       self assert: ('AB'  matchesRegex: '(?!!ABC).*').<br>
-       self deny:   ('ABC' matchesRegex: '(?!!ABC).*').!<br>
<br>
Item was added:<br>
+ ----- Method: RxParserTest>>testNegativeLookahead (in category 'tests') -----<br>
+ testNegativeLookahead<br>
+       self assert: ['A' matchesRegex: 'A(?!!BC).*'].<br>
+       self assert: ['AB' matchesRegex: 'A(?!!BC).*'].<br>
+       self deny: ['ABC' matchesRegex: 'A(?!!BC).*'].<br>
+       self deny: ['ABCD' matchesRegex: 'A(?!!BC).*'].!<br>
<br>
Item was added:<br>
+ ----- Method: RxParserTest>>testPositiveLookahead (in category 'tests') -----<br>
+ testPositiveLookahead<br>
+       self deny: ['A' matchesRegex: 'A(?=BC).*'].<br>
+       self deny: ['AB' matchesRegex: 'A(?=BC).*'].<br>
+       self assert: ['ABC' matchesRegex: 'A(?=BC).*'].<br>
+       self deny: ['ABC' matchesRegex: 'A(?=BCD).*'].!<br>
<br>
<br>
</blockquote></div></div></div>