View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
20278Bug reportsExpression Managerpublic2026-10-08 13:16
Reportermarcgold Assigned Toc_schmitz  
PrioritynoneSeveritypartial_block 
Status closedResolutionno change required 
Product Version6.6.x 
Summary20278: Regex Pattern Changes
Description

Has something happened in the Regex Builder in the Conditions Manager.
Have always used a Regex to validate Age ie in this format: ^(1[8-9]|[2-4][0-9]|5[0-4])$

However as of today, this is failing and not validating properly. But I have found that by removing the brackets ie: ^1[8-9]|[2-4][0-9]|5[0-4]$. it does work. But I don't think this is the correct syntax.

I have attached the lss for this - its got both the correct and incorrect versions in there from question age:

Steps To Reproduce

Steps to reproduce

(Replace this text with detailed step-by-step instructions on how to reproduce the issue)

Expected result

(Write here what you expected to happen)

Actual result

(Write here what happened instead)

TagsNo tags attached.
Attached Files
Bug heat2
Complete LimeSurvey version number (& build)6.15.14+250924
I will donate to the project if issue is resolvedNo
BrowserAny
Database type & versionMySql
Server OS (if known)Ubuntu 24.04
Webserver software & version (if known)Nginx
PHP Version8.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2026-10-08 13:16

administrator   ~86268

Your regex has an invisible tab character after the $, so it can never match. Please remove it and keep your original version with the brackets. The version without brackets only seems to work and also accepts invalid ages like 1234 or 250.

Issue History

Date Modified Username Field Change
2025-09-26 11:39 marcgold New Issue
2025-09-26 11:39 marcgold File Added: limesurvey_survey_5094.lss
2026-10-08 13:16 c_schmitz Assigned To => c_schmitz
2026-10-08 13:16 c_schmitz Status new => closed
2026-10-08 13:16 c_schmitz Resolution open => no change required
2026-10-08 13:16 c_schmitz Note Added: 86268
2026-10-08 13:16 c_schmitz Bug heat 0 => 2