Skip to content

build is failing in 1.8 because a Unicode feature isn't enabled, but previously worked in 1.7 #982

Closed as not planned
@DevNulPavel

Description

@DevNulPavel

Hello

When i updated regex version from 1.7.3 up to 1.8.0 i've received a problem with regex parsing.

Output:

(\d+\s?(years|year|y))?\s?(\d+\s?(months|month|m))?\s?(\d+\s?(weeks|week|w))?\s?(\d+\s?(days|day|d))?\s?(\d+\s?(hours|hour|h))?
       ^^
error: Unicode-aware Perl class not found (make sure the unicode-perl feature is enabled)

Even if i enable unicode feature manually it still does not work:

regex = {version = "1.8", features = ["unicode"]}

But if i downgrade version to 1.7.3, everything works good:

regex = "~1.7.3"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions