Project

General

Profile

Actions

Bug #5604

closed

Field REGEXP validation not allowing custom delimiters

Added by krileon about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
10 November 2015
Due date:
% Done:

100%

Estimated time:

Description

Field REGEXP only accepts / delimiter and won't allow custom delimiters due to the preg_match( "#^/(?:\\\\/|[^/\\n\\r])+/[a-z]*\$#", $pregExp ). I believe it's safe to simply remove this. Invalid REGEXP will simply error as it should instead of not working at all.

https://www.joomlapolis.com/forum/153-professional-member-support/231670-web-address-validation?start=6

Actions

Also available in: Atom PDF