Skip to content

Can't compile /\p{Letter}/u in REPL #13765

@Ayc0

Description

@Ayc0

When I try to compile this code:

const a = /\p{Letter}/u

the REPL crashes with the error /repl.js: Unknown property: Letter:

image

I have no settings enabled, except present-env + ie11 (to force the compiling of unicode regexes), and I'm on the latest version (but I tried with all the other available in the UI and they all break)

https://babeljs.io/repl#?browsers=ie%2011&build=&builtIns=false&corejs=false&spec=false&loose=false&code_lz=MYewdgzgLgBAhjAvDA9AHQA4G8AyBTKKPAJwF8UBXIA&debug=false&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=true&fileSize=false&timeTravel=false&sourceType=module&lineWrap=false&presets=env&prettier=false&targets=&version=7.15.6&externalPlugins=&assumptions=%7B%7D

Metadata

Metadata

Assignees

No one assigned

    Labels

    outdatedA closed issue/PR that is archived due to age. Recommended to make a new issuepkg: standalone

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions