Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1ab7aea1
Commit
1ab7aea1
authored
Mar 09, 2006
by
Luc Teirlinck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Regexp Special): Put remark between parentheses to avoid misreading.
parent
85fd8002
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lispref/searching.texi
lispref/searching.texi
+3
-3
No files found.
lispref/searching.texi
View file @
1ab7aea1
...
...
@@ -485,9 +485,9 @@ regular expression may try to match a complex pattern of literal
@samp{[} and @samp{]}. In such situations, it sometimes may be
necessary to carefully parse the regexp from the start to determine
which square brackets enclose a character alternative. For example,
@code{[^][]]}
,
consists of the complemented character alternative
@code{[^][]}
,
which matches any single character that is not a square
bracket, followed by a literal @samp{]}.
@code{[^][]]} consists of the complemented character alternative
@code{[^][]}
(
which matches any single character that is not a square
bracket
)
, followed by a literal @samp{]}.
The exact rules are that at the beginning of a regexp, @samp{[} is
special and @samp{]} not. This lasts until the first unquoted
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment