Skip to content

Broken regular expression in PHP 8.4.6 #47

Closed
@Aquilosion

Description

@Aquilosion

In recent PHP versions (not sure when it broke), the needsEscape regular expression in HJSONStringifier is broken:

preg_match(): Compilation failed: digits missing after \x or in \x{} or \o{} or \N{U+} at offset 149

I'm using PHP 8.4.6 and HJSON 2.3.0.

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