Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1550 closed defect (fixed)

MatchesRegularExpression validator should use re.search instead of re.match

Reported by: gary.wilson@… Owned by: Adrian Holovaty
Component: Validators Version: dev
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

re.match only matches the beginning of a string.

Change History (1)

comment:1 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: newclosed

(In [2588]) Fixed #1550 -- Changed MatchesRegularExpression validator to use .search(), not .match(). Thanks, Gary Wilson

Note: See TracTickets for help on using tickets.
Back to Top