Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#1550 closed defect (fixed)

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

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

Description

re.match only matches the beginning of a string.

Change History (1)

comment:1 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(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