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

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

Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component: QUERY, SEARCH
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
Priority Normal
CurrentState Closed
Checkins distro:c5cad9028dfb
TargetRelease major
ReleasedIn 2.0.0
Topic revision: r9 - 05 Jul 2015, GeorgeClark - This page was cached on 18 Sep 2021 - 00:42.

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