Skip to content

Commit 204293e

Browse files
committed
Byte based regexes enable Unicode by default.
1 parent d813518 commit 204293e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/re_builder.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,6 @@ impl RegexBuilder {
115115
}
116116

117117
/// Set the value for the Unicode (`u`) flag.
118-
///
119-
/// For byte based regular expressions, this is disabled by default.
120118
pub fn unicode(&mut self, yes: bool) -> &mut RegexBuilder {
121119
self.0.unicode = yes;
122120
self
@@ -228,8 +226,6 @@ impl RegexSetBuilder {
228226
}
229227

230228
/// Set the value for the Unicode (`u`) flag.
231-
///
232-
/// For byte based regular expressions, this is disabled by default.
233229
pub fn unicode(&mut self, yes: bool) -> &mut RegexSetBuilder {
234230
self.0.unicode = yes;
235231
self

0 commit comments

Comments
 (0)