Please reply using this URL only: http://bugs.wpkg.org/show_bug.cgi?id=1
------- Additional Comments From [EMAIL PROTECTED] 2006-02-27 13:52 ------- Ironically, it's not a bug, but a feature. Acording to this page: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/jscript7/html/jsjsgrpregexpsyntax.asp ^ Matches the position at the beginning of the input string. $ Matches the position at the end of the input string. So, you need to call a host "pc1$", and it will not match "pc101" anymore. It is easy to wrap it in wpkg.js - just replace: var reg = new RegExp(attrName, "i"); with: var reg = new RegExp("^" + attrName + "$", "i"); It will add ^ at the beginning of each host, and $ at the end. However, by making this, our syntax is no longer compatibile (but is easier to use). Should I add it to WPKG to make life easier? Comments? ideally would be of course to check if ^ and $ are used in the hostname, before we add it on our own. -- Configure bugmail: http://bugs.wpkg.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ wpkg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wpkg-users
