Re: [DQSD-Users] Latest mwd search

2008-02-26 Thread David Blume
Wow.  No sooner do I send that out than I find a class of words that don't
parse correctly for the popup.

mwd /p declare

doesn't work.  I made it work by changing one of the regular expressions in
mwd.xml like so:

@@ -96,7 +96,7 @@
   var windowW = 500;

   var sBody = xmlHttp.responseText.replace( /[\r\n]/gi,  );
-  var re = /(div\sclass=entry\smisc(.+)\/div\/div)/mig;
+  var re =
/(div\sclass=entry\smisc(.+)[\/span|\/div]\/div)/mig;
   var results = re.exec( sBody );
   if ( results != null )
   {

I don't know if that's the right way to handle this situation though.
Wonder if the (.+) should be greedy or not, too...

--David

On Mon, Feb 25, 2008 at 8:54 AM, David Blume [EMAIL PROTECTED] wrote:

 Even since that last one that was mailed out, another change was
 required.  (Not using m-w.com)  Enclosed with this message is what I have
 in my sandbox.

 --David

 On Mon, Feb 25, 2008 at 8:26 AM, Glenn Carr [EMAIL PROTECTED] wrote:

   Does anyone have the latest update to the mwd.xml search?  Or was there
  even one?  I'm noticing that the regular mwd search isn't working for me,
  and I thought I remembered someone doing some work on the popup version of
  mwd, and sending it out as an attachment. ... ?
 
 
  -
  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.nethttps://lists.sourceforge.net/lists/listinfo/[EMAIL
   PROTECTED]
  http://sourceforge.net/mailarchive/forum.php?forum_id=8601
 
 

-
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] Latest mwd search

2008-02-26 Thread Glenn Carr
Well, it works, and right now, that's good enough for me.  I've committed
it.


  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Blume
Sent: Tuesday, February 26, 2008 3:44 AM
To: DQSD users mailing list
Subject: Re: [DQSD-Users] Latest mwd search


Wow.  No sooner do I send that out than I find a class of words that don't
parse correctly for the popup.

mwd /p declare

doesn't work.  I made it work by changing one of the regular expressions in
mwd.xml like so:

@@ -96,7 +96,7 @@
   var windowW = 500;
 
   var sBody = xmlHttp.responseText.replace( /[\r\n]/gi,  );
-  var re = /(div\sclass=entry\smisc(.+)\/div\/div)/mig;
+  var re =
/(div\sclass=entry\smisc(.+)[\/span|\/div]\/div)/mig;
   var results = re.exec( sBody );
   if ( results != null )
   {

I don't know if that's the right way to handle this situation though.
Wonder if the (.+) should be greedy or not, too...

--David


On Mon, Feb 25, 2008 at 8:54 AM, David Blume [EMAIL PROTECTED] wrote:


Even since that last one that was mailed out, another change was required.
(Not using m-w.com)  Enclosed with this message is what I have in my
sandbox.

--David


On Mon, Feb 25, 2008 at 8:26 AM, Glenn Carr [EMAIL PROTECTED] wrote:


Does anyone have the latest update to the mwd.xml search?  Or was there even
one?  I'm noticing that the regular mwd search isn't working for me, and I
thought I remembered someone doing some work on the popup version of mwd,
and sending it out as an attachment. ... ?

-
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
https://lists.sourceforge.net/lists/listinfo/[EMAIL PROTECTED]
rceforge.net 
DQSD-Users@lists.sourceforge.net
http://sourceforge.net/mailarchive/forum.php?forum_id=8601





-
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] search renaming batch file / pat and patno searches

2008-02-26 Thread Shawn K. Hall
 I'm still a little confused about what you guys are seeing in 
 the help -- I'm 99.99% sure disabling searches by renaming
 the files from anything not ending in .xml should cause them
 not to be loaded into the help.  Am I missing something? 

The internal disable functionality does NOT rename the files, so you end
up with the files still being parsed, but the functions are not loaded.
This causes the same extensive memory load, without any added value
(except, maybe, the ability to search the help for info about those
searches).

Sure, qsfreq is cool, but it's a change in processing and logic for most
people, and few people can do things a different way just because that
way is better. ;)

-Shawn



-
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