(Regexp Special): Update when ^ is special.
This commit is contained in:
parent
7fb4fa10a8
commit
6cd77d3058
1 changed files with 2 additions and 1 deletions
|
@ -438,7 +438,8 @@ When matching a string instead of a buffer, @samp{^} matches at the
|
|||
beginning of the string or after a newline character.
|
||||
|
||||
For historical compatibility reasons, @samp{^} can be used only at the
|
||||
beginning of the regular expression, or after @samp{\(} or @samp{\|}.
|
||||
beginning of the regular expression, or after @samp{\(}, @samp{\(?:}
|
||||
or @samp{\|}.
|
||||
|
||||
@item @samp{$}
|
||||
@cindex @samp{$} in regexp
|
||||
|
|
Loading…
Add table
Reference in a new issue