We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd46d34 + 87f7f3f commit 2f2db21Copy full SHA for 2f2db21
regex-automata/src/util/search.rs
@@ -246,7 +246,7 @@ impl<'h> Input<'h> {
246
/// When a search is anchored (so that's [`Anchored::Yes`] or
247
/// [`Anchored::Pattern`]), a match must begin at the start of a search.
248
/// 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
+ /// will behave as if the pattern started with a `(?s-u:.)*?`. This prefix
250
/// permits a match to appear anywhere.
251
///
252
/// By default, the anchored mode is [`Anchored::No`].
0 commit comments