Skip to content

regex character range misses a character between its endpoints #5603

Closed

Description

@robertmorelli

issue:
The range from U+0406 to U+04F0 fails to match U+044D, even though U+044D lies between the endpoints.

repro:

(regexp-match? #px"[\u0406-\u04F0]" "\u0406") ; #t
(regexp-match? #px"[\u0406-\u04F0]" "\u044D") ; #f (should be #t)
(regexp-match? #px"[\u0406-\u04F0]" "\u04F0") ; #t

expected:
All three expressions should return #t.

system:
Racket v9.3 [cs]
macOS 27.0 (build 26A428), arm64

Activity

  1. added a commit that references this issue on Oct 14, 2026
    8f66be5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions