<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi Regex friend :-)</p>
<p><br>
</p>
<p>I assume you are referring to Regex-Core (thanks for the clarification, Levente!).</p>
<p><br>
</p>
<p>Yes, regexes are indeed very nerdy fun, though I recommend to use them rarely in production stuff, they just don't provide a really good readability. I don't know how experienced you are with regex in general, but I can recommend you regex101.com if you
 did not know it yet. I'm not sure what you are looking for in detail, but if you're interested in further examples, here are a few ones:</p>
<p><br>
</p>
<p><a href="http://forum.world.st/The-Inbox-Tests-ct-429-mcz-td5113665.html#:~:text=allRangesOfRegexMatches" class="OWAAutoLink" id="LPlnk886421" previewremoved="true">http://forum.world.st/The-Inbox-Tests-ct-429-mcz-td5113665.html#:~:text=allRangesOfRegexMatches</a> (see
 #<span>testUndefinedVariable and</span> #<span>testUnusedVariable).</span></p>
<p><br>
</p>
<p><span></span>In <span>Regex-Core-ct.55 f., I extended the implementation of lookaround expressions in Smalltalk.</span></p>
<p><span style="font-size: 12pt;">(This is a small piece of art:</span><br>
</p>
<p><span></span></p>
<div>'(?<=(?<!n''t\s+)l[o]ve\s+)\w+' asRegex matchesIn: 'I love Squeak. I don''t love C++. I love Smalltalk.'.</div>
<div>:-))</div>
<div><br>
</div>
And in as near as possible future, I will commit support for \x and \p as described
<a href="https://www.regular-expressions.info/unicode.html#:~:text=Unicode%20Categories" class="OWAAutoLink">
here</a>. Stay tuned!
<p></p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Chris Cunnington <brasspen@gmail.com><br>
<b>Gesendet:</b> Sonntag, 29. März 2020 18:08:44<br>
<b>An:</b> The general-purpose Squeak developers list<br>
<b>Betreff:</b> Re: [squeak-dev] Question about VB-Regex</font>
<div> </div>
</div>
<div>You posted an #asRegex example in talking to Eliot about inlining recently. I’ve printed it out and plan to play with it next week. 
<div class="">If you have any more thoughts or examples using the VB-Regex package, I hope you’ll post some here. I’m very interested in this stuff. </div>
<div class=""><br class="">
</div>
<div class="">Chris <br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Mar 29, 2020, at 9:44 AM, Thiede, Christoph <<a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de" class="">Christoph.Thiede@student.hpi.uni-potsdam.de</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div id="divtagdefaultwrapper" dir="ltr" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Hi all,</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">as you may have noticed, I have proposed some new features for Regex-Core in recent past, and I found a lot of fun in working with this clean architecture for which I still see a lot of potential for
 expansion (for example, I'm currently having basic support for<span class="Apple-converted-space"> </span><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;" class="">U</span><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;" class="">nicode</span> matches
 in my pipeline, this is currently blocked by<span class="Apple-converted-space"> </span><a href="http://forum.world.st/Unicode-td5113495.html" class="OWAAutoLink">this thread</a>. For the future, I also would like to consider named groups & depending features).
 But before I will invest unnecessary time into the Regex-Core package, I have one question:</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Recently I stumbled upon VB-Regex, which looks very similar to Regex-Core. Has this been a predecessor of Regex-Core, is it a successor or are they two independent forks? I could not find any information
 about this topic on the web.</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Is my assumption correct that Regex-Core is the regex "state of the art" within Squeak?</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Best,</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Christoph</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>