Revision: 21945
          http://sourceforge.net/p/bibdesk/svn/21945
Author:   hofman
Date:     2018-02-17 17:18:56 +0000 (Sat, 17 Feb 2018)
Log Message:
-----------
more precise parse check in parser

Modified Paths:
--------------
    trunk/bibdesk/BDSKHubmedParser.m

Modified: trunk/bibdesk/BDSKHubmedParser.m
===================================================================
--- trunk/bibdesk/BDSKHubmedParser.m    2018-02-17 17:17:37 UTC (rev 21944)
+++ trunk/bibdesk/BDSKHubmedParser.m    2018-02-17 17:18:56 UTC (rev 21945)
@@ -53,7 +53,9 @@
         return NO;
     }
     
-    return YES;
+    AGRegex *regex = [AGRegex regexWithPattern:@".*uids=([0-9]+).*"];
+    
+    return nil != [regex findInString:[url query]];
 }
 
 - (void)startWithDelegate:(id<BDSKWebParserDelegate>)aDelegate {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to