<div dir="ltr">Others have suggested a programatic regex instead of a regex literal, how about doing both? Something like:<div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="color:rgb(187,44,162)">enum</span> RegexElement {</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> <span style="color:rgb(187,44,162)">case</span> capture(name: String, value: String)</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> <span style="color:rgb(187,44,162)">case</span> special(Special)</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)"><span style="color:rgb(0,0,0)"> </span>// ...</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> <span style="color:rgb(187,44,162)">enum</span> Special: <span style="color:rgb(112,61,170)">String</span> {</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> <span style="color:rgb(187,44,162)">case</span> startOfLine = <span style="color:rgb(209,47,27)">"^"</span></p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> <span style="color:rgb(0,132,0)">// ...</span></p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> <span style="color:rgb(187,44,162)">case</span> endOfLine = <span style="color:rgb(209,47,27)">"$"</span></p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> }</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">}</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><br></p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)">// Define a regexLiteral syntax that the compiler understands that is of type Regex and consists of String representations of RegexElements, e.g. using forward slash:</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)">// /<RegexElements>*/</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><br></p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)"><span style="color:rgb(187,44,162)">struct</span><span style="color:rgb(0,0,0)"> Regex: </span><span style="color:rgb(112,61,170)">CustomStringConvertible</span><span style="color:rgb(0,0,0)"> { </span>// Compiled, immutable, thread safe, and bridged to NSRegularExpression</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)"><span style="color:rgb(0,0,0)"> </span>// ... internal compiled representation</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> <span style="color:rgb(187,44,162)">let</span> elements: [<span style="color:rgb(79,129,135)">RegexElement</span>]</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> <span style="color:rgb(187,44,162)">var</span> description: <span style="color:rgb(112,61,170)">String</span> {</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)"><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(187,44,162)">return</span><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(79,129,135)">RegexElement</span><span style="color:rgb(0,0,0)">.</span><span style="color:rgb(79,129,135)">Special</span><span style="color:rgb(0,0,0)">.</span><span style="color:rgb(49,89,93)">startOfLine</span><span style="color:rgb(0,0,0)">.</span><span style="color:rgb(79,129,135)">rawValue</span><span style="color:rgb(0,0,0)"> </span>// Example. Really returns all the elements converted back to a string</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> }</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> <span style="color:rgb(187,44,162)">init</span>(<span style="color:rgb(187,44,162)">_</span> elements: <span style="color:rgb(79,129,135)">RegexElement</span>...) {</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)"><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(187,44,162)">self</span><span style="color:rgb(0,0,0)">.</span><span style="color:rgb(79,129,135)">elements</span><span style="color:rgb(0,0,0)"> = elements </span>// Example. Really also compiles the expression</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> }</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)"><span style="color:rgb(0,0,0)"> </span>// init(regexLiteral regex: Regex) {</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)"><span style="color:rgb(0,0,0)"> </span>// init(concatAll regexes: Regex...) {</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)"><span style="color:rgb(0,0,0)"> </span>// init(fromString string: String) {</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)"><span style="color:rgb(0,0,0)"> </span>// ... more inits</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> <span style="color:rgb(187,44,162)">func</span> map<T>(input: <span style="color:rgb(112,61,170)">String</span>, <span style="color:rgb(187,44,162)">@noescape</span> mapper: (element: <span style="color:rgb(79,129,135)">RegexElement</span>) <span style="color:rgb(187,44,162)">throws</span> -> <span style="color:rgb(79,129,135)">T</span>) <span style="color:rgb(187,44,162)">rethrows</span> -> [<span style="color:rgb(79,129,135)">T</span>] {</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)"><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(187,44,162)">return</span><span style="color:rgb(0,0,0)"> [</span><span style="color:rgb(187,44,162)">try</span><span style="color:rgb(0,0,0)"> mapper(element: </span><span style="color:rgb(79,129,135)">RegexElement</span><span style="color:rgb(0,0,0)">.</span><span style="color:rgb(49,89,93)">special</span><span style="color:rgb(0,0,0)">(.</span><span style="color:rgb(49,89,93)">startOfLine</span><span style="color:rgb(0,0,0)">))] </span>// Example. Really does the matching</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> }</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)"><span style="color:rgb(0,0,0)"> </span>// func flatMap<T>(input: String, @noescape mapper: (element: RegexElement) throws -> T?) rethrows -> [T] {</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)"><span style="color:rgb(0,0,0)"> </span>// func flatMap<S: SequenceType>(input: String, @noescape mapper: (element: RegexElement) throws -> S) rethrows -> [S.Generator.Element] {</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)"><span style="color:rgb(0,0,0)"> </span>// func forEach(input: String, @noescape eacher: (element: RegexElement) throws -> Void) rethrows {</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)"><span style="color:rgb(0,0,0)"> </span>// ... more funcs</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">}</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><br></p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)"><span style="color:rgb(187,44,162)">let</span><span style="color:rgb(0,0,0)"> regex = </span><span style="color:rgb(79,129,135)">Regex</span><span style="color:rgb(0,0,0)">(</span><span style="color:rgb(79,129,135)">RegexElement</span><span style="color:rgb(0,0,0)">.</span><span style="color:rgb(49,89,93)">special</span><span style="color:rgb(0,0,0)">(.</span><span style="color:rgb(49,89,93)">startOfLine</span><span style="color:rgb(0,0,0)">)) </span>// Normally a regex literal</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="color:rgb(187,44,162)">let</span> asStringArray = <span style="color:rgb(79,129,135)">regex</span>.<span style="color:rgb(49,89,93)">map</span>(<span style="color:rgb(209,47,27)">"Example"</span>) { element -> <span style="color:rgb(112,61,170)">String</span> <span style="color:rgb(187,44,162)">in </span><span style="color:rgb(0,132,0)">// Returns `["^"]` in example</span></p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> <span style="color:rgb(187,44,162)">switch</span> element {</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> <span style="color:rgb(187,44,162)">case</span> <span style="color:rgb(187,44,162)">let</span> .capture(<span style="color:rgb(187,44,162)">_</span>, v): <span style="color:rgb(187,44,162)">return</span> v</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> <span style="color:rgb(187,44,162)">case</span> <span style="color:rgb(187,44,162)">let</span> .special(s): <span style="color:rgb(187,44,162)">return</span> s.<span style="color:rgb(79,129,135)">rawValue</span></p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> }</p></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">}</p></div></blockquote><div><br></div><div>The advantages are:</div><div><ol><li> We get a literal type for convenience.<br></li><li> We get a programatic type when we need to manipulate regexes.<br></li><li> Breaking the regex matches into the enum defined elements of the regex works well with Swift pattern matching.<br></li></ol></div><div>(Above is a very rough sketch!)</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 February 2016 at 16:44, Thorsten Seitz via swift-evolution <span dir="ltr"><<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><span></span></div><div><div></div><div>Something like Scala's extractors or F#'s Active Patterns would be most welcome to generalize pattern matching.</div><div><br></div><div><a href="http://docs.scala-lang.org/tutorials/tour/extractor-objects.html" target="_blank">http://docs.scala-lang.org/tutorials/tour/extractor-objects.html</a></div><div><a href="https://en.m.wikibooks.org/wiki/F_Sharp_Programming/Active_Patterns" target="_blank">https://en.m.wikibooks.org/wiki/F_Sharp_Programming/Active_Patterns</a></div><div><br></div><div>-Thorsten </div><div><br>Am 01.02.2016 um 15:46 schrieb James Campbell via swift-evolution <<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>>:<br><br></div><blockquote type="cite"><div><div dir="ltr">It would be great if we could create a generic way of making this swifty. You may let say want to implement a matching system for structure like JSON or XML (i.e XQuery).<div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr">
<p><b><font color="#cc0000">___________________________________</font></b></p><p><b>James⎥Lead Engineer</b></p><p><b><font color="#cc0000"><a href="mailto:james@supmenow.com" target="_blank">james@supmenow.com</a>⎥<a href="http://supmenow.com" target="_blank">supmenow.com</a></font></b></p><p><b><font size="2">Sup</font></b></p><p><b><font size="2">Runway East
</font></b></p><p><b><font size="2">10 Finsbury Square</font></b></p><p><b><font size="2">London</font></b></p><p><b><font size="2">
EC2A 1AF </font></b></p></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Feb 1, 2016 at 2:43 PM, Patrick Gili via swift-evolution <span dir="ltr"><<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Dany,<div><br></div><div>My response is inline below.</div><div><br></div><div>Cheers,</div><div>-Patrick</div><div><br></div><div><div><span><blockquote type="cite"><div>On Jan 31, 2016, at 8:56 PM, Dany St-Amant <<a href="mailto:dsa.mls@icloud.com" target="_blank">dsa.mls@icloud.com</a>> wrote:</div><br><div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><blockquote type="cite"><div><br>Le 31 janv. 2016 à 16:46, Patrick Gili <<a href="mailto:gili.patrick.r@gili-labs.com" target="_blank">gili.patrick.r@gili-labs.com</a>> a écrit :</div><br><div><div style="word-wrap:break-word">Hi Dany,<div><br></div><div>Please find my response inline below.</div><div><br></div><div>Cheers,</div><div>-Patrick</div><div><br><div><blockquote type="cite"><div>On Jan 31, 2016, at 3:46 PM, Dany St-Amant via swift-evolution <<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>> wrote:</div><br><div><div style="word-wrap:break-word"><div>This seem to be two proposals in one:</div><div>1. Initialize NSRegularExpression with a single String which includes options</div><div><br></div><div>The ultimate goal based on the earlier mail in the thread seems to be able in a future proposal do thing like: string ~= replacePattern, if string =~ pattern, decoupled from the legacy Obj-C. Isn’t NSRegularExpression part of the legacy? The conversion of the literal string as regular expression should probably part of the proposal for these operators; as this is the time we will know how we want the text to be interpreted.</div></div></div></blockquote><div><br></div><div>I don't see any evidence of NSRegularExpression becoming part of any legacy. Given SE-005, SE-006, and SE-023, the name is probably changing from NSRegularExpression to RegularExpression. However, I don't think the definition of the class will change, only the name.</div><div><br></div><div>I would like to see an operator regular expression matching operator, like Ruby and Perl. I was trying to keep the proposal a minimal increment that would buy the biggest bang for the buck. We can already accomplish much of what other languages can do with regard to regular expression. However, the notion of a regular expression isn't something we can work around with custom library today. Can you suggest something addition that should be in the proposal?</div></div></div></div></div></blockquote><div><br></div>Splitting proposal in smaller ones have its advantage, but here I am just wondering if we are sure that these future operation will use the NSRegularExpression/RegularExpression. And does the currently selected syntax allow for future expansion, it would be bad to introduce something that need to be torn away or changed in an incompatible way, once we really start to use them in their final location.</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">The proposal is focused on the search, but seem to skip the substitution; I am unable to see an option to replace all matches instead of the first one only in the proposal. I, as many other, would expect regular expression in a language to also support substitution.</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">As for addition to the proposal, the processing of the string could be support for any character (within some limit) for the slash delimiter. With sed, when replacing path component, one can do: <span style="font-family:Menlo;font-size:11px">echo $PWD | sed -e "s:^/usr/local/bin:/opt/share/bin:g"</span>, instead of escaping every single slashes. Which is really handy to make thing easier to read.</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Also, putting aside that I think \(scheme) should not be interpreted in the example, with a syntax allowing such interpretation the variable should be processed to generate proper escaping. If one is to use \(filename) you get "main.c", but one must use \(filename.escaped()) to get the proper "main\.c" to avoid matching "mainac". The String.escaped() must be in a format compatible with the format used when converting the regular expression into NSRegularExpression (not sure if the two syntax are the same; I think that at least the handling of / may differ)</div></div></blockquote><div><br></div></span><div>I agree. Perhaps I went too far with keeping the proposal short-and-sweet. Especially when you consider the rich syntax that Perl supports for substitution.</div><span><br><blockquote type="cite"><div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><blockquote type="cite"><div><div style="word-wrap:break-word"><div><div><div><br></div><blockquote type="cite"><div><div style="word-wrap:break-word"><div>2. Easily create a String without escaping (\n is not linefeed, but \ and n)</div><div><br></div><div>The ability to not interpret the backslash as escape can be useful in other scenario that creating a NSRegularExpression; like creating a Windows pathname, or creating regular expression which are then given to external tool. So this part of the proposal should probably be generalized.</div></div></div></blockquote><div><br></div><div>Generalize it for what? If you're thinking along the line of raw strings, I agree that we need this capability, as well as multi-line string literals. However, I just soon we have separate proposals for this.</div></div></div></div></div></blockquote><div><br></div>My point/opinion here, is that a regular expressions are just a String which are then interpreted; the same way as "Good Morning", "Bonjour", or "Marhaba" (even when using the arabic script) are just String when you assign then to a variable in Swift, and then interpreted by the intended user. They are not String, frenchString, rigthToLeftString. So I do not see why a regular expression should have privileged treatment and have its own language level syntax. The only difference when writing regular expression, or Windows pathname, or any String with a syntax with heavily uses of backslashes, is that one may want to disable the special meaning of the backslashes, to make thing more readable.</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">On the page of geeky-ing the String there’s four main part IMHO</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">- multi-line support</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">- no backslash escaping version (which should include no processing the \(variable) format)</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">- inclusion of String delimiter inside the String</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">- concat of backslash/no backslash version. Bash example <span style="font-family:Menlo;font-size:11px">echo</span><span style="font-family:Menlo;font-size:11px"> </span><span style="font-family:Menlo;font-size:11px">'echo "$BASH" shows '"$BASH"</span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">I’m still trying to find back the mail thread crumbs on these topics, since before restarting the discussion in these topics, the previous one should be properly summarized; unless such summary already exist.</div></div></blockquote><div><br></div></span><div>I think supporting interpolation is important. Both Perl and Ruby support it, and I'm sure there are other languages. One thing I forgot to put into the proposal: an option to disable interpolation or limit it to single pass.</div><div><br></div><div>Looking ahead at the other responses, Chris Lattner has suggested that the proposal would have more traction if we can find a way to fold this into Swift's pattern matching. I can't say as I disagree, as this makes regular expression more Swifty.</div><span><br><blockquote type="cite"><div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Regards,</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Dany</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br><blockquote type="cite"><div><div style="word-wrap:break-word"><div><div><blockquote type="cite"><div><div style="word-wrap:break-word"><div>Dany</div><div><br></div><div><blockquote type="cite"><div>Le 31 janv. 2016 à 12:18, Patrick Gili via swift-evolution <<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>> a écrit :</div><br><div><div style="word-wrap:break-word">Here is the link to the proposal on GitHub:<div><br></div><div><a href="https://github.com/gili-patrick-r/swift-evolution/blob/master/proposals/NNNN-regular-expression-literals.md" target="_blank">https://github.com/gili-patrick-r/swift-evolution/blob/master/proposals/NNNN-regular-expression-literals.md</a></div><div><br></div><div>Cheers,</div><div>-Patrick</div></div></div></blockquote></div><br></div>_______________________________________________<br>swift-evolution mailing list<br><a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a></div></blockquote></div></div></div></div></blockquote></div></div></blockquote></span></div><br></div></div><br>_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
<br></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>swift-evolution mailing list</span><br><span><a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a></span><br><span><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a></span><br></div></blockquote></div></div><br>_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"> -- Howard.<br></div>
</div>