mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-12 06:41:13 +02:00
expect.texi (Expect): Removed backslash escapes of regexp
operators ( and ) in code example for expect-strings.
This commit is contained in:
parent
e1ea3bf908
commit
6dccc95033
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-12-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
|
||||||
|
|
||||||
|
* expect.texi (Expect): Removed backslash escapes of regexp
|
||||||
|
operators ( and ) in code example for expect-strings.
|
||||||
|
|
||||||
2004-12-14 Kevin Ryde <user42@zip.com.au>
|
2004-12-14 Kevin Ryde <user42@zip.com.au>
|
||||||
|
|
||||||
* api-data.texi (Regexp Functions): Revise regex-substitute and
|
* api-data.texi (Regexp Functions): Revise regex-substitute and
|
||||||
|
|
|
@ -56,10 +56,10 @@ match. E.g.,
|
||||||
|
|
||||||
@smalllisp
|
@smalllisp
|
||||||
("^daemon" => write)
|
("^daemon" => write)
|
||||||
("^d\\(aemon\\)" => (lambda args (for-each write args)))
|
("^d(aemon)" => (lambda args (for-each write args)))
|
||||||
("^da\\(em\\)on" => (lambda (all sub)
|
("^da(em)on" => (lambda (all sub)
|
||||||
(write all) (newline)
|
(write all) (newline)
|
||||||
(write sub) (newline)))
|
(write sub) (newline)))
|
||||||
@end smalllisp
|
@end smalllisp
|
||||||
|
|
||||||
The order of the substrings corresponds to the order in which the
|
The order of the substrings corresponds to the order in which the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue