Revision: 29426 http://sourceforge.net/p/bibdesk/svn/29426 Author: hofman Date: 2025-08-15 21:45:56 +0000 (Fri, 15 Aug 2025) Log Message: ----------- allow mathscinet servers with parts starting with search name
Modified Paths: -------------- trunk/bibdesk/BDSKMathSciNetParser.m Modified: trunk/bibdesk/BDSKMathSciNetParser.m =================================================================== --- trunk/bibdesk/BDSKMathSciNetParser.m 2025-08-12 16:13:20 UTC (rev 29425) +++ trunk/bibdesk/BDSKMathSciNetParser.m 2025-08-15 21:45:56 UTC (rev 29426) @@ -51,7 +51,7 @@ // Instead recognise all URLs beginning with 'mathscinet', to match both general MatSciNet URLs like <https://www.ams.org/mathscinet/...> and MathSciNet reference URLS <https://www.ams.org/mathscinet-getitem?...>. + (BOOL)canParseDocument:(DOMDocument *)domDocument fromURL:(NSURL *)url{ - if ([url hasFirstPathComponent:@"mathscinet"] == NO) + if ([[url path] hasCaseInsensitivePrefix:@"mathscinet"] == NO) return NO; AGRegex * MRRegexp = [AGRegex regexWithPattern:@"MR0*([0-9]+)" options:AGRegexMultiline]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit