# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns # data urls (['"])data:.*?\g{-1} data:[-a-zA-Z=;:/0-9+]*,\S* # YouTube https?://(?:(?:www\.|)youtube\.com|youtu.be)/(?:channel/|embed/|playlist\?list=|watch\?v=|v/|)[-a-zA-Z0-9?&=_]* <\s*youtube\s+id=['"][-a-zA-Z0-9?_]*['"] \bimg\.youtube\.com/vi/[-a-zA-Z0-9?&=_]* youtube_id:\s*[-a-zA-Z0-9?&=_]* # Google Analytics \bgoogle-analytics\.com/collect.[-0-9a-zA-Z?%=&_.~]* # Google APIs \bgoogleapis\.com/[a-z]+/v\d+/[a-z]+/[@./?=\w]+ \b[-a-zA-Z0-9.]*\bstorage\d*\.googleapis\.com(?:/\S*|) # Google Calendar \bcalendar\.google\.com/calendar(?:/u/\d+|)/embed\?src=[@./?=\w&%]+ \w+\@group\.calendar\.google\.com\b # Google DataStudio \bdatastudio\.google\.com/(?:(?:c/|)u/\d+/|)(?:embed/|)(?:open|reporting|datasources|s)/[-0-9a-zA-Z]+(?:/page/[-0-9a-zA-Z]+|) # The leading `/` here is as opposed to the `\b` above # ... a short way to match `https://` or `http://` since most urls have one of those prefixes # Google Docs /docs\.google\.com/[a-z]+/d/(?:e/|)[0-9a-zA-Z_-]+/? # Google Groups https://groups\.google\.com/d/topic/[^/]+/[a-zA-Z0-9]+/discussion https://groups\.google\.com/d/msg/[^/]+/[a-zA-Z0-9]+/[a-zA-Z0-9]+ # Google themes themes\.googleusercontent\.com/static/fonts/[^/]+/v\d+/[^.]+. # Google CDN \bclients2\.google(?:usercontent|)\.com[-0-9a-zA-Z/.]* # Goo.gl /goo\.gl/[a-zA-Z0-9]+ # Google Chrome Store \bchrome\.google\.com/webstore/detail/\w*(?:/\w*|) # google_site_verification: google_site_verification: [-a-zA-Z=;:/0-9+]* # Ruby-doc.org https://ruby-doc\.org/.* # Contributors alphabetical order.*:.* twitter_handle: .* # apiKey apiKey: '[a-f0-9]+' # FontAwesome /(?:(?i)FontAwesome\.\w+\?\w+) # Lorem (?:\w|\s|[,.])*\b(?i)(?:amet|consectetur|cursus|dolor|eros|ipsum|lacus|libero|ligula|lorem|magna|neque|nulla|suscipit|tempus|ultrices)\b(?:\w|\s|[,.])* # URL escaped characters \%[0-9A-F]{2} # c99 hex digits (not the full format, just one I've seen) # hex digits including css/html color classes: (?:[\\0][xX]|\\u|[uU]\+|#x?|\%23)[0-9a-fA-FgGrR_]{2,}(?:[uU]?[lL]{0,2}|u\d+)\b # Automatically suggested patterns # hit-count: 23 file-count: 15 # GitHub SHAs (markdown) (?:\[`?[0-9a-f]+`?\]\(https:/|)/(?:www\.|)github\.com(?:/[^/\s"]+){2,}(?:/[^/\s")]+)(?:[0-9a-f]+(?:[-0-9a-zA-Z/#.]*|)\b|) # hit-count: 7 file-count: 4 # Wikipedia \ben\.wikipedia\.org/wiki/[-\w%.#]+ # hit-count: 5 file-count: 3 # Non-English [a-zA-Z]*[ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýÿĀāŁłŃńŅņŒœŚśŠšŜŝŸŽžź][a-zA-Z]{3}[a-zA-ZÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýÿĀāŁłŃńŅņŒœŚśŠšŜŝŸŽžź]* # hit-count: 4 file-count: 4 # Twitter status \btwitter\.com/[^/\s"')]*(?:/status/\d+(?:\?[-_0-9a-zA-Z&=]*|)|) # hit-count: 3 file-count: 3 # stackexchange -- https://stackexchange.com/feeds/sites \b(?:askubuntu|serverfault|stack(?:exchange|overflow)|superuser).com/(?:questions/\w+/[-\w]+|a/) # hit-count: 3 file-count: 2 # vs devops \bvisualstudio.com(?::443|)/[-\w/?=%&.]* # hit-count: 2 file-count: 2 # mailto urls mailto:[-a-zA-Z=;:/?%&0-9+@.]{3,} # hit-count: 2 file-count: 2 # githubusercontent /[-a-z0-9]+\.githubusercontent\.com/[-a-zA-Z0-9?&=_\/.]* # hit-count: 2 file-count: 2 # hex runs \b[0-9a-fA-F]{16,}\b # hit-count: 2 file-count: 2 # curl arguments \b(?:\\n|)curl(?:\s+-[a-zA-Z]{1,2}\b)*(?:\s+-[a-zA-Z]{3,})(?:\s+-[a-zA-Z]+)* # hit-count: 2 file-count: 1 # microsoft \b(?:https?://|)(?:(?:download\.visualstudio|docs|msdn2?|research)\.microsoft|blogs\.msdn)\.com/[-_a-zA-Z0-9()=./%]* # hit-count: 1 file-count: 1 # Amazon \bamazon\.com/[-\w]+/(?:dp/[0-9A-Z]+|) # hit-count: 1 file-count: 1 # gist github \bgist\.github\.com/[^/\s"]+/[0-9a-f]+ # hit-count: 1 file-count: 1 # Contributor \[[^\]]+\]\(https://github\.com/[^/\s"]+\) # hit-count: 1 file-count: 1 # medium \bmedium\.com/\@?[^/\s"]+/[-\w]+ # hit-count: 1 file-count: 1 # Twitter markdown \[\@[^[/\]:]*?\]\(https://twitter.com/[^/\s"')]*(?:/status/\d+(?:\?[-_0-9a-zA-Z&=]*|)|)\) # 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 # ignore inline code `\w+`