Opened 12 years ago

Closed 12 years ago

#4397 closed defect (fixed)

dojox.validate.regexp.js references dojo.string.escapeRegExp(), but this is not defined

Reported by: guest Owned by: dante
Priority: high Milestone:
Component: Dojox Version: 0.9
Keywords: dojox.validate.regexp dojo.string.escapeRegExp Cc: lloydmurray@…
Blocked By: Blocking:

Description

In dojox.validate.regexp.js, line 314, it references dojo.string.escapeRegExp(). This funtion no longer exists in the string package. The escapeRegExp() function either needs to be implemented, or simply removed from regexp.js. (I've done the later, with no ill effects.) Currently, this is breaking the dojox.validate.check logic.

Change History (3)

comment:1 Changed 12 years ago by dante

Owner: changed from Tom Trenka to dante
Status: newassigned

comment:2 Changed 12 years ago by Adam Peller

Is dojo.regexp.escapeString what you want?

comment:3 Changed 12 years ago by dante

Resolution: fixed
Status: assignedclosed

fixed in [10462]. unit tests still not working, so may not fix fully, lacking test cases.

Note: See TracTickets for help on using tickets.