Opened 12 years ago

Closed 11 years ago

#4690 closed defect (duplicate)

[dojox.validate] dojox.regexp.tld (dojox.validate.regexp) pass on almost anything

Reported by: tk Owned by: dante
Priority: high Milestone:
Component: Dojox Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

var a = new RegExp(dojox.regexp.tld({}))
a.test('a.b.com-aerae')
true
a.test('a.b')
false
a.test('a.b.lkalkdlaskd')
true
a.test('a.bbb')
true
a.test('a.bb')
true
a.test('a.b')
false
a.test('ab.b')
false
a.test('abbcp,.b')
true
a.test('abbcom.b')
true

Change History (3)

comment:1 Changed 12 years ago by tk

Owner: changed from Tom Trenka to dante

comment:2 Changed 12 years ago by dante

Summary: dojox.regexp.tld (dojox.validate.regexp) pass on almost anything[dojox.validate] dojox.regexp.tld (dojox.validate.regexp) pass on almost anything

comment:3 Changed 11 years ago by Adam Peller

Resolution: duplicate
Status: newclosed

see #4350

Note: See TracTickets for help on using tickets.