From 6b0c76c0e1f3247223bd242adee2ab8a56b89a1c Mon Sep 17 00:00:00 2001 From: attero Date: Wed, 6 Nov 2019 21:58:15 +0100 Subject: README.md: fixed !ghh RegEx --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8a31b7f..a3c81f1 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ What are bangs?: ##### !ghh git-history - Example URL: `https://duckduckgo.com/?q=!ghh+https%3A%2F%2Fgithub.com%2Fbabel%2Fbabel%2Fblob%2Fmaster%2Fpackages%2Fbabel-core%2FREADME.md&adfasfasd` -- Include pattern: `^(?:http?s://)ad.doubleclick.net/.*\?(http?s://.*)` +- Include pattern: `^(?:http?s://)duckduckgo.com/\?q=(?:(?:%21|!)ghh\+)(?:.*)(github|gitlab|bitbucket)(?:\.org|\.com)(.*?(?=\&))` - Redirect to: `https://$1.githistory.xyz$2` - Pattern type: Regular Expression - Description: -- cgit v1.2.3