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.
1 parent 7bc8f88 commit 87f7f3fCopy full SHA for 87f7f3f
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