From fc3097f12dc5ac17005bc23777864e6476170af4 Mon Sep 17 00:00:00 2001 From: Philip McGrath Date: Fri, 21 Aug 2020 00:20:36 -0400 Subject: [PATCH] docs: regexp size limit only applies to Racket BC Racket CS is happy to evaluate e.g. `(regexp (make-string 100000 #\x))`. --- pkgs/racket-doc/scribblings/reference/regexps.scrbl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/racket-doc/scribblings/reference/regexps.scrbl b/pkgs/racket-doc/scribblings/reference/regexps.scrbl index 7704fec0b5..d6b3125f2d 100644 --- a/pkgs/racket-doc/scribblings/reference/regexps.scrbl +++ b/pkgs/racket-doc/scribblings/reference/regexps.scrbl @@ -63,7 +63,8 @@ A literal or printed @tech{regexp value} starts with @litchar{#rx} or values produced by the default reader are @tech{interned} in @racket[read-syntax] mode. -The internal size of a @tech{regexp value} is limited to 32 kilobytes; this +On the @tech[#:doc '(lib "scribblings/guide/guide.scrbl")]{BC} variant of Racket, +the internal size of a @tech{regexp value} is limited to 32 kilobytes; this limit roughly corresponds to a source string with 32,000 literal characters or 5,000 operators.