Opened 11 years ago

Closed 11 years ago

#5427 closed defect (fixed)

dojox.regexp.host should recognize named hosts

Reported by: tk Owned by: tk
Priority: high Milestone: 1.1
Component: Dojox Version: 1.0
Keywords: dojox.regexp.host Cc: dante
Blocked By: Blocking:

Description

MyComputer? is a valid hostname basically an added flag for named hosts that uses the following regexp will work /[-][a-z0-9_-]*/i

a-z0-9_- but not starting with -

Change History (1)

comment:1 Changed 11 years ago by Karl Tiedt

Resolution: fixed
Status: newclosed

(In [11883]) fixes #5427 by adding allowNamed flag to the dojox.regexp.host API, it defaults to false, but testing with true and all normal functionality still works. Will be discussing with phiggins about where a good test for this might be in the test files.

Note: See TracTickets for help on using tickets.