From 33da679c31cdc0194c47f3453cfc317187190fba Mon Sep 17 00:00:00 2001 From: Eli Barzilay Date: Wed, 10 Jun 2009 22:33:06 +0000 Subject: [PATCH] better output contract for regexp-match svn: r15135 --- collects/scribblings/reference/regexps.scrbl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collects/scribblings/reference/regexps.scrbl b/collects/scribblings/reference/regexps.scrbl index 675830ba11..40e6433340 100644 --- a/collects/scribblings/reference/regexps.scrbl +++ b/collects/scribblings/reference/regexps.scrbl @@ -204,8 +204,8 @@ case-sensitively. [start-pos exact-nonnegative-integer? 0] [end-pos (or/c exact-nonnegative-integer? #f) #f] [output-port (or/c output-port? #f) #f]) - (or/c (listof (or/c string? #f)) - (listof (or/c bytes? #f)) + (or/c (cons/c string? (listof (or/c string? #f))) + (cons/c bytes? (listof (or/c bytes? #f))) #f)]{ Attempts to match @scheme[pattern] (a string, byte string, @tech{regexp