Skip to content

Commit

Permalink
fix regexps docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gus-massa authored and sorawee committed Jun 30, 2024
1 parent 9cca005 commit 513f36f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/racket-doc/scribblings/reference/regexps.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ syntax in @secref["regexp-syntax"]) and compiles it into a
byte-@tech{regexp value}.

If @racket[handler] is provided, it is called and its result is returned
if @racket[str] is not a valid representation of a regular expression.
if @racket[bstr] is not a valid representation of a regular expression.

The @racket[object-name] procedure
returns the source byte string for a @tech{regexp value}.
Expand Down Expand Up @@ -304,7 +304,7 @@ Produces a string or byte string suitable for use with @racket[regexp]
to match the literal sequence of characters in @racket[str] or
sequence of bytes in @racket[bstr]. If @racket[case-sensitive?] is
true (the default), the resulting regexp matches letters in
@racket[str] or @racket[bytes] case-sensitively, otherwise it matches
@racket[str] or @racket[bstr] case-sensitively, otherwise it matches
case-insensitively.

@examples[
Expand Down

0 comments on commit 513f36f

Please sign in to comment.