Skip to content

Commit 2f2db21

Browse files
authored
Merge branch 'rust-lang:master' into interval_canoicalization_opt
2 parents dd46d34 + 87f7f3f commit 2f2db21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regex-automata/src/util/search.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ impl<'h> Input<'h> {
246246
/// When a search is anchored (so that's [`Anchored::Yes`] or
247247
/// [`Anchored::Pattern`]), a match must begin at the start of a search.
248248
/// When a search is not anchored (that's [`Anchored::No`]), regex engines
249-
/// will behave as if the pattern started with a `(?:s-u.)*?`. This prefix
249+
/// will behave as if the pattern started with a `(?s-u:.)*?`. This prefix
250250
/// permits a match to appear anywhere.
251251
///
252252
/// By default, the anchored mode is [`Anchored::No`].

0 commit comments

Comments
 (0)