Re: [DQSD-Users] msk fix...

2008-03-19 Thread tom . corcoran
Hi Glen,

Ok. In the version I posted I did not change the regular expression  
but removed the Q prefix in:
 document.mskf.query.value = Q + res[1];

Is that still present in the repository version?

Tom.

 Original Message 
Subject:Re: [DQSD-Users] msk fix...
Date:   Tue, 18 Mar 2008 20:02:39 -0500
From:   Glenn Carr [EMAIL PROTECTED]
Reply-To:   DQSD users mailing list dqsd-users@lists.sourceforge.net
To: [EMAIL PROTECTED], 'DQSD users mailing list'  
dqsd-users@lists.sourceforge.net
References: [EMAIL PROTECTED]


Hey Tom,

I think we already had a fix for that.  The search worked for me using  
the most recent version, and taking a look at the difference, the  
regular expression to match the argument is different but has the same  
result:

Your change:

if ( res = args.q.match(/^\s*[qQ]?(\d{6})\s*$/) )

Current version:

if ( res = args.q.match(/^\s*q?(\d{6})\s*$/i) )

...if I'm not mistaken.

 -Original Message-

 From: [EMAIL PROTECTED] [mailto:dqsd-users-

 [EMAIL PROTECTED] On Behalf Of Tom Corcoran

 Sent: Tuesday, March 18, 2008 4:19 PM

 To: DQSD

 Subject: [DQSD-Users] msk fix...



 I had reason to use the msk search today and it did not work, according

 to help msk 871122 should work but it appends a Q which is not

 recognised. The attached version has this removed. However it's not

 extensively tested for other options so I cannot guarantee success.



 Cheers,



 Tom.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
DQSD-Users@lists.sourceforge.net
http://sourceforge.net/mailarchive/forum.php?forum_id=8601


Re: [DQSD-Users] msk fix...

2008-03-18 Thread Glenn Carr
Hey Tom,

I think we already had a fix for that.  The search worked for me using the
most recent version, and taking a look at the difference, the regular
expression to match the argument is different but has the same result:

Your change:
if ( res = args.q.match(/^\s*[qQ]?(\d{6})\s*$/) )

Current version:
if ( res = args.q.match(/^\s*q?(\d{6})\s*$/i) )

...if I'm not mistaken.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:dqsd-users-
 [EMAIL PROTECTED] On Behalf Of Tom Corcoran
 Sent: Tuesday, March 18, 2008 4:19 PM
 To: DQSD
 Subject: [DQSD-Users] msk fix...
 
 I had reason to use the msk search today and it did not work, according
 to help msk 871122 should work but it appends a Q which is not
 recognised. The attached version has this removed. However it's not
 extensively tested for other options so I cannot guarantee success.
 
 Cheers,
 
 Tom.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
DQSD-Users@lists.sourceforge.net
http://sourceforge.net/mailarchive/forum.php?forum_id=8601