mirror of
https://github.com/correl/melpa.git
synced 2024-12-22 11:08:54 +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