Skip to content

regex u word boundary fails after an astral character #372

Closed

Description

@robertmorelli

issue:
There is a word boundary between "😀" and "k", but engine262 returns false.

repro:

console.log(/\u{1F600}\b/u.test("😀k")); // false

expected:
prints true

system:
engine262 commit 678c2c0
macOS 27.0, arm64

Activity

  1. Jack-Works commented on Oct 14, 2026

    @Jack-Works
    Contributor

    thank you!

  2. added 2 commits that reference this issue on Oct 15, 2026
    0bc148a
    c0225bd
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