View the DQSD CVS repository here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/
Update of /cvsroot/dqsd/dqsd
In directory usw-pr-cvs1:/tmp/cvs-serv2155
Modified Files:
defer_tools.js
Log Message:
Added back some changes that were accidently removed
Index: defer_tools.js
===================================================================
RCS file: /cvsroot/dqsd/dqsd/defer_tools.js,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** defer_tools.js 24 Jul 2002 15:59:57 -0000 1.12
--- defer_tools.js 25 Jul 2002 13:24:43 -0000 1.13
***************
*** 150,154 ****
// Regular expression that defines switches
! var re_switch = /\/((\w+)(?::?(\S*)))\s*/;
var re_res_args;
var re_res_switch;
--- 150,154 ----
// Regular expression that defines switches
! var re_switch = /\/(([-.\w]+)(?::?(\S*)))\s*/;
var re_res_args;
var re_res_switch;
***************
*** 163,170 ****
for (var j = 0; j < expectedSwitches.length && !re_res_switch; j++)
{
! if (expandSwitches)
! re_res_switch = expectedSwitches[j].match(new RegExp('^(' + re_res_args[2]
+ ')', 'i'));
! else
! re_res_switch = expectedSwitches[j].match(new RegExp('^(' + re_res_args[2]
+ ')$', 'i'));
// If there is a match, adjust the args_array, and save the values.
if (re_res_switch)
--- 163,172 ----
for (var j = 0; j < expectedSwitches.length && !re_res_switch; j++)
{
! var expect_regex = new RegExp(
! '^(' + re_res_args[2].replace('.', '\\.') +
! ')' + (expandSwitches ? '' : '$'), 'i');
!
! re_res_switch = expectedSwitches[j].match(expect_regex);
!
// If there is a match, adjust the args_array, and save the values.
if (re_res_switch)
-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/