You are here: Foswiki>Tasks Web>Item10399 (05 Jul 2015, GeorgeClark)Edit Attach

Item10399: Tolerate malformed regex in QUERY and SEARCH match operator gracefully.

pencil
Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component: QUERY, SEARCH
Branches:
Reported By: PaulHarvey
Waiting For:
Last Change By: GeorgeClark
KennethLavrsen noted that

-- PaulHarvey - 23 Feb 2011

For the record. This is not what I noted. I notes that valid regexes with () does not work. This has been addressed on a different bug report.

It is a good idea if an invalid regex result in an inline error and not a crash

-- KennethLavrsen - 09 Mar 2011

My misunderstanding had come from my use of fields[] qualification. I hadn't noticed ~ wasn't working for the =FormField=~'' shortcut. Oh well smile

-- PaulHarvey - 09 Mar 2011

bug report good smile started work on it already

-- SvenDowideit - 10 Mar 2011

Trunk doesn't crash, generates a reasonable error about malformed regex, marking waiting for release.

-- Main.GeorgeClark - 09 Jan 2015 - 01:48
 

ItemTemplate edit

Summary Tolerate malformed regex in QUERY and SEARCH match operator gracefully.
ReportedBy PaulHarvey
Codebase 1.1.2, 1.1.1, 1.1.0, 1.1.0 beta1, trunk
SVN Range
AppliesTo Engine
Component QUERY, SEARCH
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:c5cad9028dfb
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r9 - 05 Jul 2015, GeorgeClark - This page was cached on 24 Jul 2016 - 10:50.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License