aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEinar Egilsson <einar@einaregilsson.com>2019-11-07 09:55:01 +0000
committerGitHub <noreply@github.com>2019-11-07 09:55:01 +0000
commitbbce4f5d5b50f12643ea4bc706f3333f10eb758b (patch)
treec4ea971c8b502d30955bd333cc664899fcec237b
parenteb7fa59d597e827f08c488d89d10b1d94f562afb (diff)
parent6b0c76c0e1f3247223bd242adee2ab8a56b89a1c (diff)
Merge pull request #163 from apfelchips/master
README.md: fixed !ghh RegEx
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
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?: <https://duckduckgo.com/bang>
##### !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: <https://githistory.xyz>