winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

patterns.txt (5370B)


      1 # See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns
      2 
      3 REQUIRE(?:[_A-Z]*)\(.*\)
      4 
      5 \bR(?:"\(.*\)"|".*?")
      6 
      7 "ContinuationToken"\s*:\s*"[^"]+"
      8 
      9 8wekyb3d8bbwe
     10 _tisf_sqliteReturnValue
     11 
     12 El proyecto .* diferentes
     13 
     14 # Package family names and package full names
     15 \b[-_~.A-Za-z0-9]+_[a-z0-9]{13}\b
     16 
     17 # Locales for name normalization
     18 \b\p{Lu}{2,3}(?:-(?:CANS|CYRL|LATN|MONG))?-\p{Lu}{2}(?![A-Z])(?:-VALENCIA)?\b
     19 
     20 # Azure pipeline tasks
     21 - task: .*
     22 
     23 # schema regex
     24 "pattern": .*$
     25 
     26 # doc/.../manifest.md
     27 ^ShortDescription: Le nouveau.*$
     28 
     29 # Ignore test patterns
     30 GetRestAPIBaseUri\(".*"\) == L".*"
     31 
     32 # some forms of `any more` are correct
     33 \battempt any more\b
     34 
     35 # Sample store product id for App Installer
     36 9nblggh4nns1
     37 9NVTPZWRC6KQ
     38 9PCX3HX4HZ0Z
     39 
     40 # Automatically suggested patterns
     41 
     42 # hit-count: 3076 file-count: 503
     43 # IServiceProvider / isAThing
     44 (?:\b|_)(?:(?:ns|)I|isA|T)(?=(?:[A-Z][a-z]{2,})+(?:[A-Z\d]|\b))
     45 
     46 # hit-count: 1396 file-count: 96
     47 # uuid:
     48 \b[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}\b
     49 
     50 # hit-count: 366 file-count: 148
     51 # hex runs
     52 \b[0-9a-fA-F]{16,}\b
     53 
     54 # hit-count: 337 file-count: 135
     55 # microsoft
     56 \b(?:https?://|)(?:(?:(?:apps|blogs|download\.visualstudio|docs|msdn2?|research)\.|)microsoft|blogs\.msdn)\.co(?:m|\.\w\w)/[-_a-zA-Z0-9()=./%?&:#]*
     57 
     58 # hit-count: 296 file-count: 23
     59 # version suffix <word>v#
     60 (?:(?<=[A-Z]{2})V|(?<=[a-z]{2}|[A-Z]{2})v)\d+(?:\b|(?=[a-zA-Z_]))
     61 
     62 # hit-count: 171 file-count: 25
     63 # hex digits including css/html color classes:
     64 (?:[\\0][xX]|\\u|[uU]\+|#x?|%23)[0-9_a-fA-FgGrR]*?[a-fA-FgGrR]{2,}[0-9_a-fA-FgGrR]*(?:[uUlL]{0,3}|[iu]\d+)\b
     65 
     66 # hit-count: 157 file-count: 75
     67 # GitHub SHAs (markdown)
     68 (?:\[`?[0-9a-f]+`?\]\(https:/|)/(?:www\.|)github\.com(?:/[^/\s"]+){2,}(?:/[^/\s")]+)(?:[0-9a-f]+(?:[-0-9a-zA-Z/#.]*|)\b|)
     69 
     70 # hit-count: 46 file-count: 17
     71 # base64 encoded pkcs
     72 \bMII[-a-zA-Z=;:/0-9+]+
     73 
     74 # hit-count: 35 file-count: 7
     75 # libraries
     76 (?:\b|_)lib(?:re(?=office)|)(?!elous|era[lt]|ero|erty|rar(?:i(?:an|es)|y))(?=[a-z])
     77 
     78 # hit-count: 14 file-count: 7
     79 # w3
     80 \bw3\.org/[-0-9a-zA-Z/#.]+
     81 
     82 # hit-count: 13 file-count: 6
     83 # Alternatively, if you're using check-spelling v0.0.25+, and you would like to _check_ the Non-English content for spelling errors, you can. For information on how to do so, see:
     84 # https://docs.check-spelling.dev/Feature:-Configurable-word-characters.html#unicode
     85 [a-zA-Z]*[ÀÁÂÃÄÅÆČÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæčçèéêëìíîïðñòóôõöøùúûüýÿĀāŁłŃńŅņŒœŚśŠšŜŝŸŽžź][a-zA-Z]{3}[a-zA-ZÀÁÂÃÄÅÆČÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæčçèéêëìíîïðñòóôõöøùúûüýÿĀāŁłŃńŅņŒœŚśŠšŜŝŸŽžź]*|[a-zA-Z]{3,}[ÀÁÂÃÄÅÆČÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæčçèéêëìíîïðñòóôõöøùúûüýÿĀāŁłŃńŅņŒœŚśŠšŜŝŸŽžź]|[ÀÁÂÃÄÅÆČÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæčçèéêëìíîïðñòóôõöøùúûüýÿĀāŁłŃńŅņŒœŚśŠšŜŝŸŽžź][a-zA-Z]{3,}
     86 
     87 # hit-count: 10 file-count: 3
     88 # URL escaped characters
     89 %[0-9A-F][A-F](?=[A-Za-z])
     90 
     91 # hit-count: 7 file-count: 3
     92 # Contributor
     93 \[[^\]]+\]\(https://github\.com/[^/\s"]+/?\)
     94 
     95 # hit-count: 6 file-count: 4
     96 # Markdown anchor links
     97 \(#\S*?[a-zA-Z]\S*?\)
     98 
     99 # hit-count: 4 file-count: 4
    100 # python
    101 \b(?i)py(?!gments|gmy|lon|ramid|ro|th)(?=[a-z]{2,})
    102 
    103 # hit-count: 3 file-count: 3
    104 # mailto urls
    105 mailto:[-a-zA-Z=;:/?%&0-9+@._]{3,}
    106 
    107 # hit-count: 3 file-count: 3
    108 # githubusercontent
    109 /[-a-z0-9]+\.githubusercontent\.com/[-a-zA-Z0-9?&=_\/.]*
    110 
    111 # hit-count: 1 file-count: 1
    112 # hex in url queries
    113 =[0-9a-fA-F]*?(?:[A-F]{3,}|[a-f]{3,})[0-9a-fA-F]*?&
    114 
    115 E2E
    116 
    117 # first-letter-bracketed-remainder
    118 \b\w\[[A-Za-z]{3,}\]
    119 
    120 # Questionably acceptable forms of `in to`
    121 # Personally, I prefer `log into`, but people object
    122 # https://www.tprteaching.com/log-into-log-in-to-login/
    123 \b(?:(?:[Ll]og(?:g(?=[a-z])|)|[Ss]ign)(?:ed|ing)?) in to\b
    124 
    125 # to opt in
    126 \bto opt in\b
    127 
    128 # acceptable duplicates
    129 # ls directory listings
    130 [-bcdlpsw](?:[-r][-w][-SsTtx]){3}[\.+*]?\s+\d+\s+\S+\s+\S+\s+[.\d]+(?:[KMGT]|)\s+
    131 # mount
    132 \bmount\s+-t\s+(\w+)\s+\g{-1}\b
    133 # C types and repeated CSS values
    134 \s(Architecture|auto|buffalo|center|div|inherit|long|LONG|none|normal|solid|thin|transparent|very)(?: \g{-1})+\s
    135 # C enum and struct
    136 \b(?:enum|struct)\s+(\w+)\s+\g{-1}\b
    137 # go templates
    138 \s(\w+)\s+\g{-1}\s+\`(?:graphql|inject|json|yaml):
    139 # doxygen / javadoc / .net
    140 (?:[\\@](?:brief|defgroup|groupname|link|t?param|return|retval)|(?:public|private|\[Parameter(?:\(.+\)|)\])(?:\s+(?:static|override|readonly|required|virtual))*)(?:\s+\{\w+\}|)\s+(\w+)\s+\g{-1}\s
    141 
    142 # macOS file path
    143 (?:Contents\W+|(?!iOS)/)MacOS\b
    144 
    145 # Python package registry has incorrect spelling for macOS / Mac OS X
    146 "Operating System :: MacOS :: MacOS X"
    147 
    148 # "company" in Germany
    149 \bGmbH\b
    150 
    151 # IntelliJ
    152 \bIntelliJ\b
    153 
    154 # Commit message -- Signed-off-by and friends
    155 ^\s*(?:(?:Based-on-patch|Co-authored|Helped|Mentored|Reported|Reviewed|Signed-off)-by|Thanks-to): (?:[^<]*<[^>]*>|[^<]*)\s*$
    156 
    157 # Autogenerated revert commit message
    158 ^This reverts commit [0-9a-f]{40}\.$
    159 
    160 # ignore long runs of a single character:
    161 \b([A-Za-z])\g{-1}{3,}\b
    162 
    163 # devil fruits
    164 \s([A-Z]{3,}|[A-Z][a-z]{2,}|[a-z]{3,})\s\g{-1}\sno Mi
    165 
    166 # PowerShell Aliases defined in .cs files (not those in AliasesToExport in psd1 files)
    167 \[Alias\("[a-z]+"\)\]