1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 22:10:21 +02:00

expect.texi (Expect): Removed backslash escapes of regexp

operators ( and ) in code example for expect-strings.
This commit is contained in:
Mikael Djurfeldt 2004-12-20 21:38:23 +00:00
parent e1ea3bf908
commit 6dccc95033
2 changed files with 9 additions and 4 deletions

View file

@ -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>
* api-data.texi (Regexp Functions): Revise regex-substitute and

View file

@ -56,10 +56,10 @@ match. E.g.,
@smalllisp
("^daemon" => write)
("^d\\(aemon\\)" => (lambda args (for-each write args)))
("^da\\(em\\)on" => (lambda (all sub)
(write all) (newline)
(write sub) (newline)))
("^d(aemon)" => (lambda args (for-each write args)))
("^da(em)on" => (lambda (all sub)
(write all) (newline)
(write sub) (newline)))
@end smalllisp
The order of the substrings corresponds to the order in which the