Skip to content

Commit

Permalink
Deploying to gh-pages from @ 77a0da4 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed Jul 5, 2023
1 parent dbe05d9 commit 9cb7b32
Show file tree
Hide file tree
Showing 6 changed files with 179 additions and 44 deletions.
141 changes: 141 additions & 0 deletions 2023/07/05/regex-1.9.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Announcing regex 1.9 | Rust Blog</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="description" content="Empowering everyone to build reliable and efficient software.">
<!-- Twitter card -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@rustlang">
<meta name="twitter:creator" content="@rustlang">
<meta name="twitter:title" content="Announcing regex 1.9 | Rust Blog">
<meta name="twitter:description" content="Empowering everyone to build reliable and efficient software.">
<meta name="twitter:image" content="https://www.rust-lang.org/static/images/rust-social.jpg">

<!-- Facebook OpenGraph -->
<meta property="og:title" content="Announcing regex 1.9 | Rust Blog" />
<meta property="og:description" content="Empowering everyone to build reliable and efficient software.">
<meta property="og:image" content="https://www.rust-lang.org/static/images/rust-social-wide.jpg" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />

<!-- styles -->
<link rel="stylesheet" href="../../../styles/vendor.css"/>
<link rel="stylesheet" href="../../../styles/fonts.css"/>
<link rel="stylesheet" href="../../../styles/app.css"/>
<link rel="stylesheet" href="../../../styles/highlight.css"/>

<!-- favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="../../../images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="16x16" href="../../../images/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="../../../images/favicon-32x32.png">
<link rel="icon" type="image/svg+xml" href="../../../images/favicon.svg">
<link rel="manifest" href="../../../images/site.webmanifest">
<link rel="mask-icon" href="../../../images/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#00aba9">
<meta name="theme-color" content="#ffffff">

<!-- atom -->
<link type="application/atom+xml" rel="alternate" href="https://blog.rust-lang.org/feed.xml" title="Rust Blog" />

</head>
<body>
<nav class="flex flex-row justify-center justify-end-l items-center flex-wrap ph2 pl3-ns pr4-ns">
<div class="brand flex-auto w-100 w-auto-l self-start tc tl-l">
<a href="../../../">
<img class="v-mid ml0-l" alt="Rust Logo" src="../../../images/rust-logo-blk.svg">
<span class="dib ml1 ml0-l">Rust Blog</span>
</a>
</div>

<ul class="nav list w-100 w-auto-l flex flex-none flex-row flex-wrap justify-center justify-end-l items-center pv2 ph0 ph4-ns">
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="https://www.rust-lang.org">Rust</a></li>
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="https://www.rust-lang.org/tools/install">Install</a></li>
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="https://www.rust-lang.org/learn">Learn</a></li>
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="https://www.rust-lang.org/tools">Tools</a></li>
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="https://www.rust-lang.org/governance">Governance</a></li>
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="https://www.rust-lang.org/community">Community</a></li>
</ul>
</nav>

<section id="Announcing regex 1.9" class="white">
<div class="w-100 mw-none ph3 mw8-m mw8-l center f3">
<header>
<h2>Announcing regex 1.9</h2>
<div class="highlight mt2 mb3"></div>
</header>

<div class="publish-date-author">July 5, 2023 &middot; Andrew Gallant
on behalf of <a href="https://www.rust-lang.org/governance/teams/library#Regex%20crate%20team">The regex crate team</a>
</div>

<div class="post">
<p>The regex sub-team is announcing the release of <code>regex 1.9</code>. The <code>regex</code> crate
is maintained by the Rust project and is the recommended way to use regular
expressions in Rust. Its defining characteristic is its guarantee of worst case
linear time searches with respect to the size of the string being searched.</p>
<p>Releases of the <code>regex</code> crate aren't normally announced on this blog, but
since the majority of its internals have been rewritten in version 1.9, this
announcement serves to encourage extra scrutiny. If you run into any problems
or performance regressions, please report them on the <a href="https://github.com/rust-lang/regex/issues">issue tracker</a> or <a href="https://github.com/rust-lang/regex/discussions">ask
questions on the Discussion forum</a>.</p>
<p>Few API additions have been made, but one worth calling out is the
<a href="https://docs.rs/regex/1.*/regex/struct.Captures.html#method.extract"><code>Captures::extract</code></a> method that should make getting capture groups in some
cases more convenient. Otherwise, the main change folks should see is hopefully
faster search times.</p>
<p>You can read more in the <a href="https://github.com/rust-lang/regex/blob/master/CHANGELOG.md#190-2023-07-05">CHANGELOG</a> and in a more in depth blog post on
<a href="https://blog.burntsushi.net/regex-internals/">regex crate internals as a library</a>.</p>

</div>
</div>
</section>

<footer>
<div class="w-100 mw-none ph3 mw8-m mw9-l center f3">
<div class="row">
<div class="four columns mt3 mt0-l" id="get-help">
<h4>Get help!</h4>
<ul>
<li><a href="https://doc.rust-lang.org" target="_blank" rel="noopener">Documentation</a></li>
<li><a href="mailto:[email protected]">Contact the Rust Team</a></li>
</ul>
</div>
<div class="four columns mt3 mt0-l">
<h4>Terms and policies</h4>
<ul>
<li><a href="https://www.rust-lang.org/policies/code-of-conduct">Code of Conduct</a></li>
<li><a href="https://www.rust-lang.org/policies/licenses">Licenses</a></li>
<li><a href="https://www.rust-lang.org/policies/media-guide">Logo Policy and Media Guide</a></li>
<li><a href="https://www.rust-lang.org/policies/security">Security Disclosures</a></li>
<li><a href="https://www.rust-lang.org/policies">All Policies</a></li>
</ul>
</div>
<div class="four columns mt3 mt0-l">
<h4>Social</h4>
<div class="flex flex-row flex-wrap">
<a href="https://twitter.com/rustlang" target="_blank" rel="noopener" alt="twitter link"><img src="../../../images/twitter.svg" alt="twitter logo" title="Twitter"/></a>
<a href="https://www.youtube.com/channel/UCaYhcUwRBNscFNUKTjgPFiA" target="_blank" rel="noopener" alt="youtube link"><img style="padding-top: 6px; padding-bottom:6px" src="../../../images/youtube.svg" alt="youtube logo" title="YouTube"/></a>
<a href="https://discord.gg/rust-lang" target="_blank" rel="noopener" alt="discord link"><img src="../../../images/discord.svg" alt="discord logo" title="Discord"/></a>
<a href="https://github.com/rust-lang" target="_blank" rel="noopener" alt="github link"><img src="../../../images/github.svg" alt="github logo" title="GitHub"/></a>
</div>
<h4 class="mt4 mb3">RSS</h4>
<ul>
<li><a href="../../../feed.xml">Main Blog</a></li>
<li><a href="../../../inside-rust/feed.xml">"Inside Rust" Blog</a></li>
</ul>
</div>

</div>
<div class="attribution">
Maintained by the Rust Team. See a typo?
<a href="https://github.com/rust-lang/blog.rust-lang.org" target="_blank" rel="noopener">Send a fix here</a>!
</div>
</div>
</footer>

<!-- scripts -->
<script src="../../../scripts/highlight.js"></script>

</body>
</html>
70 changes: 29 additions & 41 deletions feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,37 @@
<name>Maintained by the Rust Teams.</name>
<uri>https://github.com/rust-lang/blog.rust-lang.org/</uri>
</author>
<updated>2023-07-03T17:56:39+00:00</updated>
<updated>2023-07-05T13:36:17+00:00</updated>


<entry>
<title>Announcing regex 1.9</title>
<link rel="alternate" href="https://blog.rust-lang.org/2023/07/05/regex-1.9.html" type="text/html" title="Announcing regex 1.9" />
<published>2023-07-05T00:00:00+00:00</published>
<updated>2023-07-05T00:00:00+00:00</updated>
<id>https://blog.rust-lang.org/2023/07/05/regex-1.9.html</id>
<content type="html" xml:base="https://blog.rust-lang.org/2023/07/05/regex-1.9.html">&lt;p&gt;The regex sub-team is announcing the release of &lt;code&gt;regex 1.9&lt;/code&gt;. The &lt;code&gt;regex&lt;/code&gt; crate
is maintained by the Rust project and is the recommended way to use regular
expressions in Rust. Its defining characteristic is its guarantee of worst case
linear time searches with respect to the size of the string being searched.&lt;/p&gt;
&lt;p&gt;Releases of the &lt;code&gt;regex&lt;/code&gt; crate aren&#x27;t normally announced on this blog, but
since the majority of its internals have been rewritten in version 1.9, this
announcement serves to encourage extra scrutiny. If you run into any problems
or performance regressions, please report them on the &lt;a href&#x3D;&quot;https://github.com/rust-lang/regex/issues&quot;&gt;issue tracker&lt;/a&gt; or &lt;a href&#x3D;&quot;https://github.com/rust-lang/regex/discussions&quot;&gt;ask
questions on the Discussion forum&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Few API additions have been made, but one worth calling out is the
&lt;a href&#x3D;&quot;https://docs.rs/regex/1.*/regex/struct.Captures.html#method.extract&quot;&gt;&lt;code&gt;Captures::extract&lt;/code&gt;&lt;/a&gt; method that should make getting capture groups in some
cases more convenient. Otherwise, the main change folks should see is hopefully
faster search times.&lt;/p&gt;
&lt;p&gt;You can read more in the &lt;a href&#x3D;&quot;https://github.com/rust-lang/regex/blob/master/CHANGELOG.md#190-2023-07-05&quot;&gt;CHANGELOG&lt;/a&gt; and in a more in depth blog post on
&lt;a href&#x3D;&quot;https://blog.burntsushi.net/regex-internals/&quot;&gt;regex crate internals as a library&lt;/a&gt;.&lt;/p&gt;
</content>

<author>
<name>Andrew Gallant</name>
</author>
</entry>

<entry>
<title>Rustfmt support for let-else statements</title>
<link rel="alternate" href="https://blog.rust-lang.org/2023/07/01/rustfmt-supports-let-else-statements.html" type="text/html" title="Rustfmt support for let-else statements" />
Expand Down Expand Up @@ -574,46 +602,6 @@ Cargo are only used if no trusted key for &lt;code&gt;github.com&lt;/code&gt; is
&lt;h3&gt;&lt;a href&#x3D;&quot;#contributors-to-1682&quot; aria-hidden&#x3D;&quot;true&quot; class&#x3D;&quot;anchor&quot; id&#x3D;&quot;contributors-to-1682&quot;&gt;&lt;/a&gt;Contributors to 1.68.2&lt;/h3&gt;
&lt;p&gt;Many people came together to create Rust 1.68.2. We couldn&#x27;t have done it
without all of you. &lt;a href&#x3D;&quot;https://thanks.rust-lang.org/rust/1.68.2/&quot;&gt;Thanks!&lt;/a&gt;&lt;/p&gt;
</content>

<author>
<name>The Rust Release Team</name>
</author>
</entry>

<entry>
<title>Announcing Rust 1.68.1</title>
<link rel="alternate" href="https://blog.rust-lang.org/2023/03/23/Rust-1.68.1.html" type="text/html" title="Announcing Rust 1.68.1" />
<published>2023-03-23T00:00:00+00:00</published>
<updated>2023-03-23T00:00:00+00:00</updated>
<id>https://blog.rust-lang.org/2023/03/23/Rust-1.68.1.html</id>
<content type="html" xml:base="https://blog.rust-lang.org/2023/03/23/Rust-1.68.1.html">&lt;p&gt;The Rust team has published a new point release of Rust, 1.68.1. Rust is a
programming language that is empowering everyone to build reliable and
efficient software.&lt;/p&gt;
&lt;p&gt;If you have a previous version of Rust installed via rustup, you can get 1.68.1 with:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;rustup update stable
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you don&#x27;t have it already, you can &lt;a href&#x3D;&quot;https://www.rust-lang.org/install.html&quot;&gt;get &lt;code&gt;rustup&lt;/code&gt;&lt;/a&gt;
from the appropriate page on our website, and check out the
&lt;a href&#x3D;&quot;https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1681-2023-03-23&quot;&gt;detailed release notes for 1.68.1&lt;/a&gt; on GitHub.&lt;/p&gt;
&lt;h2&gt;&lt;a href&#x3D;&quot;#whats-in-1681-stable&quot; aria-hidden&#x3D;&quot;true&quot; class&#x3D;&quot;anchor&quot; id&#x3D;&quot;whats-in-1681-stable&quot;&gt;&lt;/a&gt;What&#x27;s in 1.68.1 stable&lt;/h2&gt;
&lt;p&gt;Rust 1.68.1 stable primarily contains a change to how Rust&#x27;s CI builds the
Windows MSVC compiler, no longer enabling LTO for the Rust code. This led to a
&lt;a href&#x3D;&quot;https://github.com/rust-lang/rust/issues/109067&quot;&gt;miscompilation&lt;/a&gt; that the Rust
team is debugging, but in the meantime we&#x27;re reverting the change to enable
LTO.&lt;/p&gt;
&lt;p&gt;This is currently believed to have no effect on wider usage of ThinLTO. The
Rust compiler used an unstable flag as part of the build process to enable
ThinLTO despite compiling to a dylib.&lt;/p&gt;
&lt;p&gt;There are a few other regression fixes included in the release:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href&#x3D;&quot;https://github.com/rust-lang/rust/pull/109111/&quot;&gt;Fix building the compiler with &lt;code&gt;--enable-local-rust&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href&#x3D;&quot;https://github.com/rust-lang/rust/pull/109156&quot;&gt;Treat &lt;code&gt;$prefix-clang&lt;/code&gt; as &lt;code&gt;clang&lt;/code&gt; in linker detection code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href&#x3D;&quot;https://github.com/rust-lang/rust/pull/108162&quot;&gt;Fix a panic in the compiler&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a href&#x3D;&quot;#contributors-to-1681&quot; aria-hidden&#x3D;&quot;true&quot; class&#x3D;&quot;anchor&quot; id&#x3D;&quot;contributors-to-1681&quot;&gt;&lt;/a&gt;Contributors to 1.68.1&lt;/h3&gt;
&lt;p&gt;Many people came together to create Rust 1.68.1. We couldn&#x27;t have done it
without all of you. &lt;a href&#x3D;&quot;https://thanks.rust-lang.org/rust/1.68.1/&quot;&gt;Thanks!&lt;/a&gt;&lt;/p&gt;
</content>

<author>
Expand Down
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@
<td class="bn"></td>
<td class="bn"><h3 class="f0-l f1-m f2-s mt4 mb0">Posts in 2023</h3></td>
</tr>
<tr>
<td class="tr o-60 pr4 pr5-l bn">July&nbsp;5</td>
<td class="bn"><a href="2023/07/05/regex-1.9.html">Announcing regex 1.9</a></td>
</tr>


<tr>
<td class="tr o-60 pr4 pr5-l bn">July&nbsp;1</td>
<td class="bn"><a href="2023/07/01/rustfmt-supports-let-else-statements.html">Rustfmt support for let-else statements</a></td>
Expand Down
2 changes: 1 addition & 1 deletion inside-rust/feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<name>Maintained by the Rust Teams.</name>
<uri>https://github.com/rust-lang/blog.rust-lang.org/</uri>
</author>
<updated>2023-07-03T17:56:41+00:00</updated>
<updated>2023-07-05T13:36:20+00:00</updated>


<entry>
Expand Down
2 changes: 1 addition & 1 deletion inside-rust/releases.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"releases":[],"feed_updated":"2023-07-03T17:56:41+00:00"}
{"releases":[],"feed_updated":"2023-07-05T13:36:20+00:00"}
Loading

0 comments on commit 9cb7b32

Please sign in to comment.