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/vse0120000070mrt/direct/01/
> > _______________________________________________
> > To unsubscribe visit:
> > https://lists.sourceforge.net/lists/listinfo/dqsd-users
> > DQSD-Users@lists.sourceforge.net<https://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/vse0120000070mrt/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

Reply via email to