mirror of
https://github.com/correl/melpa.git
synced 2024-11-14 19:19:32 +00:00
Avoid \A in js regexps, thus fixing links to launchpad bzr repos
This commit is contained in:
parent
326fc9b057
commit
44b4fc07d5
1 changed files with 3 additions and 3 deletions
|
@ -124,9 +124,9 @@
|
|||
};
|
||||
return (urlMatch(/(bitbucket\.org\/[^\/]+\/[^\/\?]+)/, "https://") ||
|
||||
urlMatch(/(gitorious\.org\/[^\/]+\/[^.]+)/, "https://") ||
|
||||
urlMatch(/\Alp:(.*)/, "https://launchpad.net/") ||
|
||||
urlMatch(/\A(https?:\/\/code\.google\.com\/p\/[^\/]+\/)/) ||
|
||||
urlMatch(/\A(https?:\/\/[^.]+\.googlecode\.com\/)/));
|
||||
urlMatch(/^lp:(.*)/, "https://launchpad.net/") ||
|
||||
urlMatch(/^(https?:\/\/code\.google\.com\/p\/[^\/]+\/)/) ||
|
||||
urlMatch(/^(https?:\/\/[^.]+\.googlecode\.com\/)/));
|
||||
}
|
||||
return null;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue