Regex rule doesn't work as expected

Created on 4 October 2023, over 1 year ago
Updated 5 October 2023, over 1 year ago

Problem/Motivation

Using a regex with a space in it causes problems.

Steps to reproduce

Create a Regex validation that looks for the word "and": /(.*) and (.*)/
Submit a string that contains the letters "and", e.g. the name "Alexander".

What should happen:
The string is ignored and does not trigger a validation failure.

What actually happens:
The string fails validation.

Proposed resolution

Fix the bug.

Remaining tasks

Work out the cause of the bug.

User interface changes

Regex validation works as expected.

API changes

TBD

Data model changes

TBD

πŸ› Bug report
Status

Active

Version

3.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024