mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
150 lines
4.3 KiB
Text
150 lines
4.3 KiB
Text
# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns
|
|
# This file should contain strings that contain a mix of letters and numbers, or specific symbols
|
|
|
|
|
|
# Questionably acceptable forms of `in to`
|
|
# Personally, I prefer `log into`, but people object
|
|
# https://www.tprteaching.com/log-into-log-in-to-login/
|
|
\b[Ll]og in to\b
|
|
|
|
# acceptable duplicates
|
|
# ls directory listings
|
|
[-bcdlpsw](?:[-r][-w][-sx]){3}\s+\d+\s+(\S+)\s+\g{-1}\s+\d+\s+
|
|
# C types and repeated CSS values
|
|
\s(center|div|inherit|long|LONG|none|normal|solid|thin|transparent|very)(?: \g{-1})+\s
|
|
# go templates
|
|
\s(\w+)\s+\g{-1}\s+\`(?:graphql|json|yaml):
|
|
# javadoc / .net
|
|
(?:[\\@](?:groupname|param)|(?:public|private)(?:\s+static|\s+readonly)*)\s+(\w+)\s+\g{-1}\s
|
|
|
|
# Commit message -- Signed-off-by and friends
|
|
^\s*(?:(?:Based-on-patch|Co-authored|Helped|Mentored|Reported|Reviewed|Signed-off)-by|Thanks-to): (?:[^<]*<[^>]*>|[^<]*)\s*$
|
|
|
|
# Autogenerated revert commit message
|
|
^This reverts commit [0-9a-f]{40}\.$
|
|
|
|
# ignore long runs of a single character:
|
|
\b([A-Za-z])\g{-1}{3,}\b
|
|
|
|
# Automatically suggested patterns
|
|
# hit-count: 360 file-count: 108
|
|
# IServiceProvider
|
|
\bI(?=(?:[A-Z][a-z]{2,})+\b)
|
|
|
|
# hit-count: 297 file-count: 18
|
|
# uuid:
|
|
\b[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}\b
|
|
|
|
# hit-count: 138 file-count: 27
|
|
# hex digits including css/html color classes:
|
|
(?:[\\0][xX]|\\u|[uU]\+|#x?|\%23)[0-9_a-fA-FgGrR]*?[a-fA-FgGrR]{2,}[0-9_a-fA-FgGrR]*(?:[uUlL]{0,3}|u\d+)\b
|
|
|
|
# hit-count: 93 file-count: 28
|
|
# hex runs
|
|
\b[0-9a-fA-F]{16,}\b
|
|
|
|
# hit-count: 52 file-count: 3
|
|
# githubusercontent
|
|
/[-a-z0-9]+\.githubusercontent\.com/[-a-zA-Z0-9?&=_\/.]*
|
|
|
|
/[-a-z0-9]+\.github\.com/[-a-zA-Z0-9?&=_\/.]*
|
|
|
|
# hit-count: 24 file-count: 12
|
|
# GitHub SHAs (markdown)
|
|
(?:\[`?[0-9a-f]+`?\]\(https:/|)/(?:www\.|)github\.com(?:/[^/\s"]+){2,}(?:/[^/\s")]+)(?:[0-9a-f]+(?:[-0-9a-zA-Z/#.]*|)\b|)
|
|
|
|
# hit-count: 11 file-count: 10
|
|
# stackexchange -- https://stackexchange.com/feeds/sites
|
|
\b(?:askubuntu|serverfault|stack(?:exchange|overflow)|superuser).com/(?:questions/\w+/[-\w]+|a/)
|
|
|
|
# hit-count: 11 file-count: 8
|
|
# microsoft
|
|
\b(?:https?://|)(?:(?:download\.visualstudio|docs|msdn2?|research)\.microsoft|blogs\.msdn)\.com/[-_a-zA-Z0-9()=./%]*
|
|
|
|
# hit-count: 2 file-count: 2
|
|
# Twitter status
|
|
\btwitter\.com/[^/\s"')]*(?:/status/\d+(?:\?[-_0-9a-zA-Z&=]*|)|)
|
|
|
|
# hit-count: 2 file-count: 1
|
|
# discord
|
|
/discord(?:app\.com|\.gg)/(?:invite/)?[a-zA-Z0-9]{7,}
|
|
|
|
# hit-count: 1 file-count: 1
|
|
# appveyor api
|
|
\bci\.appveyor\.com/api/projects/status/[0-9a-z]+
|
|
|
|
# hit-count: 1 file-count: 1
|
|
# gist github
|
|
\bgist\.github\.com/[^/\s"]+/[0-9a-f]+
|
|
|
|
# Automatically suggested patterns
|
|
# hit-count: 21 file-count: 21
|
|
# w3
|
|
\bw3\.org/[-0-9a-zA-Z/#.]+
|
|
|
|
# hit-count: 6 file-count: 1
|
|
# shields.io
|
|
\bshields\.io/[-\w/%?=&.:+;,]*
|
|
|
|
# hit-count: 3 file-count: 2
|
|
# While you could try to match `http://` and `https://` by using `s?` in `https?://`, sometimes there
|
|
# YouTube url
|
|
\b(?:(?:www\.|)youtube\.com|youtu.be)/(?:channel/|embed/|user/|playlist\?list=|watch\?v=|v/|)[-a-zA-Z0-9?&=_%]*
|
|
|
|
# hit-count: 2 file-count: 2
|
|
# Google Maps
|
|
\bmaps\.google\.com/maps\?[\w&;=]*
|
|
|
|
# hit-count: 2 file-count: 2
|
|
# Contributor
|
|
\[[^\]]+\]\(https://github\.com/[^/\s"]+\)
|
|
|
|
# hit-count: 2 file-count: 1
|
|
# URL escaped characters
|
|
\%[0-9A-F][A-F]
|
|
|
|
# hit-count: 1 file-count: 1
|
|
# Compiler flags
|
|
(?:^|[\t ,"'`=(])-[DPWXYLlf](?=[A-Z]{2,}|[A-Z][a-z]|[a-z]{2,})
|
|
|
|
# Localization keys
|
|
#x:Key="[^"]+"
|
|
#{DynamicResource [^"]+}
|
|
|
|
# html tag
|
|
<\w+[^>]*>
|
|
</\w+[^>]*>
|
|
|
|
#http/https
|
|
(?:\b(?:https?|ftp|file)://)[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]
|
|
|
|
# UWP
|
|
[Uu][Ww][Pp]
|
|
|
|
# version suffix <word>v#
|
|
(?:(?<=[A-Z]{2})V|(?<=[a-z]{2}|[A-Z]{2})v)\d+(?:\b|(?=[a-zA-Z_]))
|
|
|
|
# Non-English
|
|
[a-zA-Z]*[ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýÿĀāŁłŃńŅņŒœŚśŠšŜŝŸŽžź][a-zA-Z]{3}[a-zA-ZÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýÿĀāŁłŃńŅņŒœŚśŠšŜŝŸŽžź]*
|
|
|
|
|
|
\bjjw24\b
|
|
\bappref-ms\b
|
|
\bTobiasSekan\b
|
|
\bJsonRPC\b
|
|
\bJsonRPCV2\b
|
|
\bTiếng Việt\b
|
|
\bPortuguês (Brasil)\b
|
|
\bčeština\b
|
|
\bPortuguês\b
|
|
\bIoc\b
|
|
\bXiao\s*He\b
|
|
\bZi\s*Ran\s*Ma\b
|
|
\bWei\s*Ruan\b
|
|
\bZhi\s*Neng\s*ABC\b
|
|
\bZi\s*Guang\s*Pin\s*Yin\b
|
|
\bPin\s*Yin\s*Jia\s*Jia\b
|
|
\bXing\s*Kong\s*Jian\s*Dao\b
|
|
\bDa\s*Niu\b
|
|
\bXiao\s*Lang\b
|
|
\b[Ss]ettings [Ss]ettings\b
|