<p>This builder permits modifying configuration options for the parser.</p>
<p>This type combines the builder options for both the <ahref="ast/parse/struct.ParserBuilder.html"title="struct regex_syntax::ast::parse::ParserBuilder">AST
<code>ParserBuilder</code></a> and the <ahref="hir/translate/struct.TranslatorBuilder.html"title="struct regex_syntax::hir::translate::TranslatorBuilder">HIR
<code>TranslatorBuilder</code></a>.</p>
</div></details><h2id="implementations"class="section-header">Implementations<ahref="#implementations"class="anchor">§</a></h2><divid="implementations-list"><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-ParserBuilder"class="impl"><aclass="src rightside"href="../src/regex_syntax/parser.rs.html#30-214">source</a><ahref="#impl-ParserBuilder"class="anchor">§</a><h3class="code-header">impl <aclass="struct"href="struct.ParserBuilder.html"title="struct regex_syntax::ParserBuilder">ParserBuilder</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.new"class="method"><aclass="src rightside"href="../src/regex_syntax/parser.rs.html#32-34">source</a><h4class="code-header">pub fn <ahref="#method.new"class="fn">new</a>() -><aclass="struct"href="struct.ParserBuilder.html"title="struct regex_syntax::ParserBuilder">ParserBuilder</a></h4></section></summary><divclass="docblock"><p>Create a new parser builder with a default configuration.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.build"class="method"><aclass="src rightside"href="../src/regex_syntax/parser.rs.html#37-39">source</a><h4class="code-header">pub fn <ahref="#method.build"class="fn">build</a>(&self) -><aclass="struct"href="struct.Parser.html"title="struct regex_syntax::Parser">Parser</a></h4></section></summary><divclass="docblock"><p>Build a parser from this configuration with the given pattern.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.utf8"class="method"><aclass="src rightside"href="../src/regex_syntax/parser.rs.html#106-109">source</a><h4class="code-header">pub fn <ahref="#method.utf8"class="fn">utf8</a>(&mut self, yes: <aclass="primitive"href="https://doc.rust-lang.org/1.80.0/std/primitive.bool.html">bool</a>) ->&mut <aclass="struct"href="struct.ParserBuilder.html"title="struct regex_syntax::ParserBuilder">ParserBuilder</a></h4></section></summary><divclass="docblock"><p>When disabled, translation will permit the construction of a regular
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.case_insensitive"class="method"><aclass="src rightside"href="../src/regex_syntax/parser.rs.html#128-131">source</a><h4class="code-header">pub fn <ahref="#method.case_insensitive"class="fn">case_insensitive</a>(&mut self, yes: <aclass="primitive"href="https://doc.rust-lang.org/1.80.0/std/primitive.bool.html">bool</a>) ->&mut <aclass="struct"href="struct.ParserBuilder.html"title="struct regex_syntax::ParserBuilder">ParserBuilder</a></h4></section></summary><divclass="docblock"><p>Enable or disable the case insensitive flag by default.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.multi_line"class="method"><aclass="src rightside"href="../src/regex_syntax/parser.rs.html#137-140">source</a><h4class="code-header">pub fn <ahref="#method.multi_line"class="fn">multi_line</a>(&mut self, yes: <aclass="primitive"href="https://doc.rust-lang.org/1.80.0/std/primitive.bool.html">bool</a>) ->&mut <aclass="struct"href="struct.ParserBuilder.html"title="struct regex_syntax::ParserBuilder">ParserBuilder</a></h4></section></summary><divclass="docblock"><p>Enable or disable the multi-line matching flag by default.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.dot_matches_new_line"class="method"><aclass="src rightside"href="../src/regex_syntax/parser.rs.html#146-149">source</a><h4class="code-header">pub fn <ahref="#method.dot_matches_new_line"class="fn">dot_matches_new_line</a>(&mut self, yes: <aclass="primitive"href="https://doc.rust-lang.org/1.80.0/std/primitive.bool.html">bool</a>) ->&mut <aclass="struct"href="struct.ParserBuilder.html"title="struct regex_syntax::ParserBuilder">ParserBuilder</a></h4></section></summary><divclass="docblock"><p>Enable or disable the “dot matches any character” flag by default.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.crlf"class="method"><aclass="src rightside"href="../src/regex_syntax/parser.rs.html#163-166">source</a><h4class="code-header">pub fn <ahref="#method.crlf"class="fn">crlf</a>(&mut self, yes: <aclass="primitive"href="https://doc.rust-lang.org/1.80.0/std/primitive.bool.html">bool</a>) ->&mut <aclass="struct"href="struct.ParserBuilder.html"title="struct regex_syntax::ParserBuilder">ParserBuilder</a></h4></section></summary><divclass="docblock"><p>Enable or disable the CRLF mode flag by default.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.line_terminator"class="method"><aclass="src rightside"href="../src/regex_syntax/parser.rs.html#188-191">source</a><h4class="code-header">pub fn <ahref="#method.line_terminator"class="fn">line_terminator</a>(&mut self, byte: <aclass="primitive"href="https://doc.rust-lang.org/1.80.0/std/primitive.u8.html">u8</a>) ->&mut <aclass="struct"href="struct.ParserBuilder.html"title="struct regex_syntax::ParserBuilder">ParserBuilder</a></h4></section></summary><divclass="docblock"><p>Sets the line terminator for use with <code>(?u-s:.)</code> and <code>(?-us:.)</code>.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.swap_greed"class="method"><aclass="src rightside"href="../src/regex_syntax/parser.rs.html#197-200">source</a><h4class="code-header">pub fn <ahref="#method.swap_greed"class="fn">swap_greed</a>(&mut self, yes: <aclass="primitive"href="https://doc.rust-lang.org/1.80.0/std/primitive.bool.html">bool</a>) ->&mut <aclass="struct"href="struct.ParserBuilder.html"title="struct regex_syntax::ParserBuilder">ParserBuilder</a></h4></section></summary><divclass="docblock"><p>Enable or disable the “swap greed” flag by default.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.unicode"class="method"><aclass="src rightside"href="../src/regex_syntax/parser.rs.html#210-213">source</a><h4class="code-header">pub fn <ahref="#method.unicode"class="fn">unicode</a>(&mut self, yes: <aclass="primitive"href="https://doc.rust-lang.org/1.80.0/std/primitive.bool.html">bool</a>) ->&mut <aclass="struct"href="struct.ParserBuilder.html"title="struct regex_syntax::ParserBuilder">ParserBuilder</a></h4></section></summary><divclass="docblock"><p>Enable or disable the Unicode flag (<code>u</code>) by default.</p>
<code><ahref="https://doc.rust-lang.org/1.80.0/core/convert/trait.From.html"title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-ToOwned-for-T"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.80.0/src/alloc/borrow.rs.html#83-85">source</a><ahref="#impl-ToOwned-for-T"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.80.0/alloc/borrow/trait.ToOwned.html"title="trait alloc::borrow::ToOwned">ToOwned</a> for T<divclass="where">where
T: <aclass="trait"href="https://doc.rust-lang.org/1.80.0/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><divclass="impl-items"><detailsclass="toggle"open><summary><sectionid="associatedtype.Owned"class="associatedtype trait-impl"><ahref="#associatedtype.Owned"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.80.0/alloc/borrow/trait.ToOwned.html#associatedtype.Owned"class="associatedtype">Owned</a> = T</h4></section></summary><divclass='docblock'>The resulting type after obtaining ownership.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.to_owned"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.80.0/src/alloc/borrow.rs.html#88">source</a><ahref="#method.to_owned"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.80.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned"class="fn">to_owned</a>(&self) -> T</h4></section></summary><divclass='docblock'>Creates owned data from borrowed data, usually by cloning. <ahref="https://doc.rust-lang.org/1.80.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.clone_into"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.80.0/src/alloc/borrow.rs.html#92">source</a><ahref="#method.clone_into"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.80.0/alloc/borrow/trait.ToOwned.html#method.clone_into"class="fn">clone_into</a>(&self, target: <aclass="primitive"href="https://doc.rust-lang.org/1.80.0/std/primitive.reference.html">&mut T</a>)</h4></section></summary><divclass='docblock'>Uses borrowed data to replace owned data, usually by cloning. <ahref="https://doc.rust-lang.org/1.80.0/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-TryFrom%3CU%3E-for-T"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.80.0/src/core/convert/mod.rs.html#805-807">source</a><ahref="#impl-TryFrom%3CU%3E-for-T"class="anchor">§</a><h3class="code-header">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.80.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T<divclass="where">where
U: <aclass="trait"href="https://doc.rust-lang.org/1.80.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><divclass="impl-items"><detailsclass="toggle"open><summary><sectionid="associatedtype.Error"class="associatedtype trait-impl"><ahref="#associatedtype.Error"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.80.0/core/convert/trait.TryFrom.html#associatedtype.Error"class="associatedtype">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/1.80.0/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></h4></section></summary><divclass='docblock'>The type returned in the event of a conversion error.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.try_from"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.80.0/src/core/convert/mod.rs.html#812">source</a><ahref="#method.try_from"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.80.0/core/convert/trait.TryFrom.html#tymethod.try_from"class="fn">try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/1.80.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/1.80.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.80.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><divclass='docblock'>Performs the conversion.</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-TryInto%3CU%3E-for-T"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.80.0/src/core/convert/mod.rs.html#790-792">source</a><ahref="#impl-TryInto%3CU%3E-for-T"class="anchor">§</a><h3class="code-header">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.80.0/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a><U> for T<divclass="where">where
U: <aclass="trait"href="https://doc.rust-lang.org/1.80.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><divclass="impl-items"><detailsclass="toggle"open><summary><sectionid="associatedtype.Error-1"class="associatedtype trait-impl"><ahref="#associatedtype.Error-1"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.80.0/core/convert/trait.TryInto.html#associatedtype.Error"class="associatedtype">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/1.80.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.80.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><divclass='docblock'>The type returned in the event of a conversion error.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.try_into"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.80.0/src/core/convert/mod.rs.html#797">source</a><ahref="#method.try_into"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.80.0/core/convert/trait.TryInto.html#tymethod.try_into"class="fn">try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/1.80.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/1.80.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.80.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><divclass='docblock'>Performs the conversion.</div></details></div></details></div></section></div></main></body></html>