8000 Deploying to gh-pages from @ 77a0da426d55de1f10a9073e31b4555256a91e37 🚀 · rust-lang/blog.rust-lang.org@9cb7b32 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9cb7b32

Browse files
Deploying to gh-pages from @ 77a0da4 🚀
1 parent dbe05d9 commit 9cb7b32

File tree

6 files changed

+179
-44
lines changed

6 files changed

+179
-44
lines changed

‎2023/07/05/regex-1.9.html

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Announcing regex 1.9 | Rust Blog</title>
6+
<meta name="viewport" content="width=device-width,initial-scale=1.0">
7+
<meta name="description" content="Empowering everyone to build reliable and efficient software.">
8+
<!-- Twitter card -->
9+
<meta name="twitter:card" content="summary">
10+
<meta name="twitter:site" content="@rustlang">
11+
<meta name="twitter:creator" content="@rustlang">
12+
<meta name="twitter:title" content="Announcing regex 1.9 | Rust Blog">
13+
<meta name="twitter:description" content="Empowering everyone to build reliable and efficient software.">
14+
<meta name="twitter:image" content="https://www.rust-lang.org/static/images/rust-social.jpg">
15+
16+
<!-- Facebook OpenGraph -->
17+
<meta property="og:title" content="Announcing regex 1.9 | Rust Blog" />
18+
<meta property="og:description" content="Empowering everyone to build reliable and efficient software.">
19+
<meta property="og:image" content="https://www.rust-lang.org/static/images/rust-social-wide.jpg" />
20+
<meta property="og:type" content="website" />
21+
<meta property="og:locale" content="en_US" />
22+
23+
<!-- styles -->
24+
<link rel="stylesheet" href="../../../styles/vendor.css"/>
25+
<link rel="stylesheet" href="../../../styles/fonts.css"/>
26+
<link rel="stylesheet" href="../../../styles/app.css"/>
27+
<link rel="stylesheet" href="../../../styles/highlight.css"/>
28+
29+
<!-- favicon -->
30+
<link rel="apple-touch-icon" sizes="180x180" href="../../../images/apple-touch-icon.png">
31+
<link rel="icon" type="image/png" sizes="16x16" href="../../../images/favicon-16x16.png">
32+
<link rel="icon" type="image/png" sizes="32x32" href="../../../images/favicon-32x32.png">
33+
<link rel="icon" type="image/svg+xml" href="../../../images/favicon.svg">
34+
<link rel="manifest" href="../../../images/site.webmanifest">
35+
<link rel="mask-icon" href="../../../images/safari-pinned-tab.svg" color="#5bbad5">
36+
<meta name="msapplication-TileColor" content="#00aba9">
37+
<meta name="theme-color" content="#ffffff">
38+
39+
<!-- atom -->
40+
<link type="application/atom+xml" rel="alternate" href="https://blog.rust-lang.org/feed.xml" title="Rust Blog" />
41+
42+
</head>
43+
<body>
44+
<nav class="flex flex-row justify-center justify-end-l items-center flex-wrap ph2 pl3-ns pr4-ns">
45+
<div class="brand flex-auto w-100 w-auto-l self-start tc tl-l">
46+
<a href="../../../">
47+
<img class="v-mid ml0-l" alt="Rust Logo" src="../../../images/rust-logo-blk.svg">
48+
<span class="dib ml1 ml0-l">Rust Blog</span>
49+
</a>
50+
</div>
51+
52+
<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">
53+
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="https://www.rust-lang.org">Rust</a></li>
54+
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="https://www.rust-lang.org/tools/install">Install</a></li>
55+
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="https://www.rust-lang.org/learn">Learn</a></li>
56+
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="https://www.rust-lang.org/tools">Tools</a></li>
57+
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="https://www.rust-lang.org/governance">Governance</a></li>
58+
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="https://www.rust-lang.org/community">Community</a></li>
59+
</ul>
60+
</nav>
61+
62+
<section id="Announcing regex 1.9" class="white">
63+
<div class="w-100 mw-none ph3 mw8-m mw8-l center f3">
64+
<header>
65+
<h2>Announcing regex 1.9</h2>
66+
<div class="highlight mt2 mb3"></div>
67+
</header>
68+
69+
<div class="publish-date-author">July 5, 2023 &middot; Andrew Gallant
70+
on behalf of <a href="https://www.rust-lang.org/governance/teams/library#Regex%20crate%20team">The regex crate team</a>
71+
</div>
72+
73+
<div class="post">
74+
<p>The regex sub-team is announcing the release of <code>regex 1.9</code>. The <code>regex</code> crate
75+
is maintained by the Rust project and is the recommended way to use regular
76+
expressions in Rust. Its defining characteristic is its guarantee of worst case
77+
linear time searches with respect to the size of the string being searched.</p>
78+
<p>Releases of the <code>regex</code> crate aren't normally announced on this blog, but
79+
since the majority of its internals have been rewritten in version 1.9, this
80+
announcement serves to encourage extra scrutiny. If you run into any problems
81+
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
82+
questions on the Discussion forum</a>.</p>
83+
<p>Few API additions have been made, but one worth calling out is the
84+
<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
85+
cases more convenient. Otherwise, the main change folks should see is hopefully
86+
faster search times.</p>
87+
<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
88+
<a href="https://blog.burntsushi.net/regex-internals/">regex crate internals as a library</a>.</p>
89+
90+
</div>
91+
</div>
92+
</section>
93+
94+
<footer>
95+
<div class="w-100 mw-none ph3 mw8-m mw9-l center f3">
96+
<div class="row">
97+
<div class="four columns mt3 mt0-l" id="get-help">
98+
<h4>Get help!</h4>
99+
<ul>
100+
<li><a href="https://doc.rust-lang.org" target="_blank" rel="noopener">Documentation</a></li>
101+
<li><a href="mailto:core-team@rust-lang.org">Contact the Rust Team</a></li>
102+
</ul>
103+
</div>
104+
<div class="four columns mt3 mt0-l">
105+
<h4>Terms and policies</h4>
106+
<ul>
107+
<li><a href="https://www.rust-lang.org/policies/code-of-conduct">Code of Conduct</a></li>
108+
<li><a href="https://www.rust-lang.org/policies/licenses">Licenses</a></li>
109+
<li><a href="https://www.rust-lang.org/policies/media-guide">Logo Policy and Media Guide</a></li>
110+
<li><a href="https://www.rust-lang.org/policies/security">Security Disclosures</a></li>
111+
<li><a href="https://www.rust-lang.org/policies">All Policies</a></li>
112+
</ul>
113+
</div>
114+
<div class="four columns mt3 mt0-l">
115+
<h4>Social</h4>
116+
<div class="flex flex-row flex-wrap">
117+
<a href="https://twitter.com/rustlang" target="_blank" rel="noopener" alt="twitter link"><img src="../../../images/twitter.svg" alt="twitter logo" title="Twitter"/></a>
118+
<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>
119+
<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>
120+
<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>
121+
</div>
122+
<h4 class="mt4 mb3">RSS</h4>
123+
<ul>
124+
<li><a href="../../../feed.xml">Main Blog</a></li>
125+
<li><a href="../../../inside-rust/feed.xml">"Inside Rust" Blog</a></li>
126+
</ul>
127+
</div>
128+
129+
</div>
130+
<div class="attribution">
131+
Maintained by the Rust Team. See a typo?
132+
<a href="https://github.com/rust-lang/blog.rust-lang.org" target="_blank" rel="noopener">Send a fix here</a>!
133+
</div>
134+
</div>
135+
</footer>
136+
137+
<!-- scripts -->
138+
<script src="../../../scripts/highlight.js"></script>
139+
140+
</body>
141+
</html>

‎feed.xml

Lines changed: 29 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,37 @@
1010
<name>Maintained by the Rust Teams.</name>
1111
<uri>https://github.com/rust-lang/blog.rust-lang.org/</uri>
1212
</author>
13-
<updated>2023-07-03T17:56:39+00:00</updated>
13+
<updated>2023-07-05T13:36:17+00:00</updated>
1414

1515

16+
<entry>
17+
<title>Announcing regex 1.9</title>
18+
<link rel="alternate" href="https://blog.rust-lang.org/2023/07/05/regex-1.9.html" type="text/html" title="Announcing regex 1.9" />
19+
<published>2023-07-05T00:00:00+00:00</published>
20+
<updated>2023-07-05T00:00:00+00:00</updated>
21+
<id>https://blog.rust-lang.org/2023/07/05/regex-1.9.html</id>
22+
<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
23+
is maintained by the Rust project and is the recommended way to use regular
24+
expressions in Rust. Its defining characteristic is its guarantee of worst case
25+
linear time searches with respect to the size of the string being searched.&lt;/p&gt;
26+
&lt;p&gt;Releases of the &lt;code&gt;regex&lt;/code&gt; crate aren&#x27;t normally announced on this blog, but
27+
since the majority of its internals have been rewritten in version 1.9, this
28+
announcement serves to encourage extra scrutiny. If you run into any problems
29+
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
30+
questions on the Discussion forum&lt;/a&gt;.&lt;/p&gt;
31+
&lt;p&gt;Few API additions have been made, but one worth calling out is the
32+
&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
33+
cases more convenient. Otherwise, the main change folks should see is hopefully
34+
faster search times.&lt;/p&gt;
35+
&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
36+
&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;
37+
</content>
38+
39+
<author>
40+
<name>Andrew Gallant</name>
41+
</author>
42+
</entry>
43+
1644
<entry>
1745
<title>Rustfmt support for let-else statements</title>
1846
<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" />
@@ -574,46 +602,6 @@ Cargo are only used if no trusted key for &lt;code&gt;github.com&lt;/code&gt; is
574602
&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;
575603
&lt;p&gt;Many people came together to create Rust 1.68.2. We couldn&#x27;t have done it
576604
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;
577-
</content>
578-
579-
<author>
580-
<name>The Rust Release Team</name>
581-
</author>
582-
</entry>
583-
584-
<entry>
585-
<title>Announcing Rust 1.68.1</title>
586-
<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" />
587-
<published>2023-03-23T00:00:00+00:00</published>
588-
<updated>2023-03-23T00:00:00+00:00</updated>
589-
<id>https://blog.rust-lang.org/2023/03/23/Rust-1.68.1.html</id>
590-
<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
591-
programming language that is empowering everyone to build reliable and
592-
efficient software.&lt;/p&gt;
593-
&lt;p&gt;If you have a previous version of Rust installed via rustup, you can get 1.68.1 with:&lt;/p&gt;
594-
&lt;pre&gt;&lt;code&gt;rustup update stable
595-
&lt;/code&gt;&lt;/pre&gt;
596-
&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;
597-
from the appropriate page on our website, and check out the
598-
&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;
599-
&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;
600-
&lt;p&gt;Rust 1.68.1 stable primarily contains a change to how Rust&#x27;s CI builds the
601-
Windows MSVC compiler, no longer enabling LTO for the Rust code. This led to a
602-
&lt;a href&#x3D;&quot;https://github.com/rust-lang/rust/issues/109067&quot;&gt;miscompilation&lt;/a&gt; that the Rust
603-
team is debugging, but in the meantime we&#x27;re reverting the change to enable
604-
LTO.&lt;/p&gt;
605-
&lt;p&gt;This is currently believed to have no effect on wider usage of ThinLTO. The
606-
Rust compiler used an unstable flag as part of the build process to enable
607-
ThinLTO despite compiling to a dylib.&lt;/p&gt;
608-
&lt;p&gt;There are a few other regression fixes included in the release:&lt;/p&gt;
609-
&lt;ul&gt;
610-
&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;
611-
&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;
612-
&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;
613-
&lt;/ul&gt;
614-
&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;
615-
&lt;p&gt;Many people came together to create Rust 1.68.1. We couldn&#x27;t have done it
616-
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;
617605
</content>
618606

619607
<author>

‎index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@
8686
<td class="bn"></td>
8787
<td class="bn"><h3 class="f0-l f1-m f2-s mt4 mb0">Posts in 2023</h3></td>
8888
</tr>
89+
<tr>
90+
<td class="tr o-60 pr4 pr5-l bn">July&nbsp;5</td>
91+
<td class="bn"><a href="2023/07/05/regex-1.9.html">Announcing regex 1.9</a></td>
92+
</tr>
93+
94+
8995
<tr>
9096
<td class="tr o-60 pr4 pr5-l bn">July&nbsp;1</td>
9197
<td class="bn"><a href="2023/07/01/rustfmt-supports-let-else-statements.html">Rustfmt support for let-else statements</a></td>

‎inside-rust/feed.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<name>Maintained by the Rust Teams.</name>
1111
<uri>https://github.com/rust-lang/blog.rust-lang.org/</uri>
1212
</author>
13-
<updated>2023-07-03T17:56:41+00:00</updated>
13+
<updated>2023-07-05T13:36:20+00:00</updated>
1414

1515

1616
<entry>

‎inside-rust/releases.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"releases":[],"feed_updated":"2023-07-03T17:56:41+00:00"}
1+
{"releases":[],"feed_updated":"2023-07-05T13:36:20+00:00"}

0 commit comments

Comments
 (0)
0