<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thank you for these resources. They look great. I’ve printed out your example and it’s now sitting beside the first printout in chapter seven of my volume of the 2nd edition of O’Reilly’s “sed & awk”, which I’ll return to reading this week. My Regex fu is weak, but it’ll improve. I aim to import a huge load of strings into a Squeak image in future to experiment with creating graphs with them. It’s nothing to talk about yet. Part of this process with sed & awk is circling around things slowly to fill some holes in my compsci knowledge. Thank you for your help. <div class=""><br class=""></div><div class="">Chris </div><div class=""><br class=""></div><div class="">The Stranglers - Golden Brown </div><div class=""><a href="https://www.youtube.com/watch?v=AtTsky80XmQ" class="">https://www.youtube.com/watch?v=AtTsky80XmQ</a><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Mar 29, 2020, at 2:42 PM, 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 Regex friend :-)</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">I assume you are referring to Regex-Core (thanks for the clarification, Levente!).</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">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<span class="Apple-converted-space"> </span><a href="http://regex101.com/" class="">regex101.com</a><span class="Apple-converted-space"> </span>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:</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><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 class="">testUndefinedVariable and</span><span class="Apple-converted-space"> </span>#<span class="">testUnusedVariable).</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class=""></span>In <span class="">Regex-Core-ct.55 f., I extended the implementation of lookaround expressions in Smalltalk.</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="font-size: 12pt;" class="">(This is a small piece of art:</span><br class=""></div><p style="margin-top: 0px; margin-bottom: 0px;" class=""><span class=""></span></p><div class="">'(?<=(?<!n''t\s+)l[o]ve\s+)\w+' asRegex matchesIn: 'I love Squeak. I don''t love C++. I love Smalltalk.'.</div><div class="">:-))</div><div class=""><br class=""></div>And in as near as possible future, I will commit support for \x and \p as described<span class="Apple-converted-space"> </span><a href="https://www.regular-expressions.info/unicode.html#:~:text=Unicode%20Categories" class="OWAAutoLink">here</a>. Stay tuned!<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><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 id="Signature" class=""><div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" class=""><div name="divtagdefaultwrapper" style="font-family: Calibri, Arial, Helvetica, sans-serif; margin: 0px;" class=""><div class=""><font size="2" color="#808080" class=""></font></div></div></div></div></div><hr tabindex="-1" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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; display: inline-block; width: 766.359375px;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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; float: none; display: inline !important;" class=""></span><div id="divRplyFwdMsg" dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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;" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">Von:</b><span class="Apple-converted-space"> </span>Squeak-dev <<a href="mailto:squeak-dev-bounces@lists.squeakfoundation.org" class="">squeak-dev-bounces@lists.squeakfoundation.org</a>> im Auftrag von Chris Cunnington <<a href="mailto:brasspen@gmail.com" class="">brasspen@gmail.com</a>><br class=""><b class="">Gesendet:</b><span class="Apple-converted-space"> </span>Sonntag, 29. März 2020 18:08:44<br class=""><b class="">An:</b><span class="Apple-converted-space"> </span>The general-purpose Squeak developers list<br class=""><b class="">Betreff:</b><span class="Apple-converted-space"> </span>Re: [squeak-dev] Question about VB-Regex</font><div class=""> </div></div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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;" class="">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 class=""><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" class="" 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;"><div class="" style="margin-top: 0px; margin-bottom: 0px;">Hi all,</div><div class="" style="margin-top: 0px; margin-bottom: 0px;"><br class=""></div><div class="" style="margin-top: 0px; margin-bottom: 0px;">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 class="" style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">U</span><span class="" style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">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 class="" style="margin-top: 0px; margin-bottom: 0px;"><br class=""></div><div class="" style="margin-top: 0px; margin-bottom: 0px;">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 class="" style="margin-top: 0px; margin-bottom: 0px;">Is my assumption correct that Regex-Core is the regex "state of the art" within Squeak?</div><div class="" style="margin-top: 0px; margin-bottom: 0px;"><br class=""></div><div class="" style="margin-top: 0px; margin-bottom: 0px;">Best,</div><div class="" style="margin-top: 0px; margin-bottom: 0px;">Christoph</div></div></div></blockquote></div></div></div></div></blockquote></div><br class=""></div></body></html>