Opened 13 years ago
Closed 13 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 -
Note: See
TracTickets for help on using
tickets.
(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.