Skip to content

failure to validate regex schema format containing '/' character #508

Closed as duplicate of#649
@orrisroot

Description

@orrisroot

In FormatConstraint::validateRegex() method, '/' character has used for delimiter of preg_match() function.
If regex format contains '/' character, then schema validator always fails.
It seems to escape '/' character before preg_match() function call.

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