> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 01, 2002 3:48 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [DQSD-Devel] Argument whith dots
> Sensitivity: Personal
> 
> 
> > My trouble is with the optional /server switch. If serverIP 
> > contains dots, only the first number is retained. What's wrong ?
> 
> MLL (what _is_ your first name?),
> 
> In defer_tools.js, in the parseArgs method, there's a regular 
> expression
> that probably needs to be changed to allow this.  Currently 
> the regex is:
> 
>   var re_switch = /\/((\w+)(?::?(\w*)))\s*/;
> 
> It probably needs to be changed to this:
> 
>   var re_switch = /\/((\w+)(?::?(\S*)))\s*/;

Thanks Glenn. Will try this tonight.

Ludovic ;)

> 
> One other problem with parseArgs that I would like to fix, is 
> that this will
> cause problems:
> 
>   mysearch /switch:"my value"
> 
> I think it's possible to create a regex to grab "my value" without the
> quotes, but including the space.
> 
> Glenn
> 

<<attachment: winmail.dat>>

Reply via email to