Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Validation with passed pattern from variable doesn't work with modifiers #12913

@vchampion

Description

@vchampion

When you want to pass regular expression as validation pattern for input from variable it works well if you don't use slashes (delimeters) and modifiers, but when you try pass regexp with modifiers (as i, g ..) validation is broken.

See example fiddle

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions