Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
a59d045
Enable VS Code SARIF integration
jsoref Mar 25, 2026
c65fd1e
Protect echo statement from editors that like stripping trailing whit…
jsoref Apr 24, 2026
6dc722c
spelling: (
jsoref Mar 26, 2026
1ec8893
spelling: 'a'
jsoref Mar 25, 2026
c0b3bb6
spelling: (rewrite Appearances::_UpdateWithNewViewModel comment)
jsoref Mar 26, 2026
47d9607
spelling: about spelunking
jsoref Mar 26, 2026
b5bbe36
spelling: add event
jsoref Mar 25, 2026
c76385e
spelling: add
jsoref Mar 25, 2026
c6cbd41
spelling: again
jsoref Mar 26, 2026
928b3f7
spelling: also need to
jsoref Mar 25, 2026
18fc79c
spelling: an
jsoref Mar 25, 2026
f69dbb5
spelling: ask me *again*
jsoref Mar 25, 2026
648bfda
spelling: at
jsoref Mar 25, 2026
510fcb8
spelling: aumid
jsoref Mar 26, 2026
75daae4
spelling: baseline,
jsoref Mar 25, 2026
c104d51
spelling: be
jsoref Mar 26, 2026
912ea2b
spelling: bytes
jsoref Mar 25, 2026
ae2e1d7
spelling: change
jsoref Mar 25, 2026
1ee6187
spelling: console-wait
jsoref Mar 26, 2026
0312092
spelling: containing the cursor
jsoref Mar 26, 2026
24f85bb
spelling: for initializing the buffer
jsoref Mar 26, 2026
a96c5e8
spelling: for the axis
jsoref Mar 26, 2026
aab5d36
spelling: for which...
jsoref Mar 25, 2026
6ad22ec
spelling: from creating
jsoref Mar 25, 2026
6030c1e
spelling: from which
jsoref Mar 25, 2026
79ca4e0
spelling: given process information in a list
jsoref Mar 25, 2026
a0644c5
spelling: guard,
jsoref Mar 25, 2026
76c91f1
spelling: if commands
jsoref Mar 26, 2026
271fe3c
spelling: if dragging
jsoref Mar 25, 2026
e6f04c4
spelling: if we have an
jsoref Mar 25, 2026
e5c4bca
spelling: if
jsoref Mar 25, 2026
2bd2559
spelling: if, after the calculation,
jsoref Mar 26, 2026
4b6101a
spelling: its
jsoref Mar 25, 2026
357091d
spelling: know of
jsoref Mar 25, 2026
0fb154b
spelling: includes, at a minimum,
jsoref Mar 27, 2026
f878c89
spelling: left over
jsoref Mar 25, 2026
ed4fe5b
spelling: little-endian
jsoref Apr 24, 2026
17c50da
spelling: of a
jsoref Mar 25, 2026
59e34ca
spelling: off-screen
jsoref Mar 26, 2026
57346ad
spelling: often
jsoref Mar 25, 2026
6c58bc9
spelling: on-screen
jsoref Mar 26, 2026
8891fd3
spelling: one
jsoref Mar 26, 2026
f3aa008
spelling: our
jsoref Mar 25, 2026
2fb6bf6
spelling: out-of-date
jsoref Mar 25, 2026
72d2896
spelling: pane,
jsoref Mar 26, 2026
d865a5e
spelling: please
jsoref Mar 25, 2026
728163a
spelling: queue,
jsoref Mar 25, 2026
eb2418c
spelling: results,
jsoref Mar 25, 2026
380c332
spelling: same as terminal,
jsoref Apr 24, 2026
f6fcb9f
spelling: that opened the first flyout
jsoref Mar 25, 2026
03c97e4
spelling: that the
jsoref Mar 25, 2026
2629d3b
spelling: that will ask
jsoref Mar 25, 2026
32ef563
spelling: that
jsoref Mar 26, 2026
e0787a5
spelling: the session's initial directory
jsoref Mar 26, 2026
f2bc2f0
spelling: the...that the
jsoref Mar 25, 2026
a888dc5
spelling: time,
jsoref Mar 26, 2026
42d24ff
spelling: to retrieve the user selected command
jsoref Mar 27, 2026
f0a74cc
spelling: to run a command/switch to a tab/...
jsoref Mar 27, 2026
7f6e73f
spelling: to which the pane was moved
jsoref Mar 26, 2026
7dcbeaa
spelling: to which the view refers
jsoref Mar 25, 2026
ba32340
spelling: to which
jsoref Mar 25, 2026
1984105
spelling: to which...
jsoref Mar 25, 2026
58a8111
spelling: to
jsoref Mar 25, 2026
3bca3d8
spelling: unit testing
jsoref Mar 26, 2026
0dc46ea
spelling: uppercase or lowercase
jsoref Apr 24, 2026
d917191
spelling: using
jsoref Mar 26, 2026
f4ad1d3
spelling: where the
jsoref Mar 25, 2026
2bc866a
spelling: whether or not
jsoref Apr 24, 2026
afb6e1c
spelling: will be
jsoref Mar 25, 2026
ccdd121
spelling: with the window
jsoref Mar 26, 2026
c793571
spelling: with the
jsoref Mar 25, 2026
5fe2d89
spelling: with
jsoref Mar 25, 2026
9593cf0
spelling: without
jsoref Mar 26, 2026
64f61d1
Refresh spell-check-this
jsoref Mar 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/Bug_Report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body:
value: |
Please make sure to [search for existing issues](https://github.com/microsoft/terminal/issues) and [check the FAQ](https://github.com/microsoft/terminal/wiki/Frequently-Asked-Questions-(FAQ)) before filing a new one!
If this is an application crash, please also provide a [Feedback Hub](https://aka.ms/terminal-feedback-hub) submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal" and choose "Share My Feedback" after submission to get the link.
If this is an application crash, please provide a [Feedback Hub](https://aka.ms/terminal-feedback-hub) submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal" and choose "Share My Feedback" after submission to get the link.
- type: input
attributes:
Expand Down
1 change: 1 addition & 0 deletions .github/actions/spelling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ File | Purpose | Format | Info
[line_forbidden.patterns](line_forbidden.patterns) | Patterns to flag in checked lines | perl regular expression (order matters, first match wins) | [patterns](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-patterns)
[expect/*.txt](expect.txt) | Expected words that aren't in the dictionary | one word per line (sorted, alphabetically) | [expect](https://github.com/check-spelling/check-spelling/wiki/Configuration#expect)
[advice.md](advice.md) | Supplement for GitHub comment when unrecognized words are found | GitHub Markdown | [advice](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice)
[config.json](config.json) | Action Configuration | JSON key (action configuration variable) value (action configuration value) | [config](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-config)

Note: you can replace any of these files with a directory by the same name (minus the suffix)
and then include multiple files inside that directory (with that suffix) to merge multiple files together.
1 change: 1 addition & 0 deletions .github/actions/spelling/advice.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ See the `README.md` in each directory for more information.
<details><summary>If the flagged items are :exploding_head: false positives</summary>

If items relate to a ...

* binary file (or some other file you wouldn't want to check at all).

Please add a file path to the `excludes.txt` file matching the containing file.
Expand Down
9 changes: 7 additions & 2 deletions .github/actions/spelling/allow/allow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ FTCS
gantt
gfm
ghe
github
godbolt
hstrings
https
hyperlinking
hyperlinks
Kbds
Expand All @@ -44,6 +46,7 @@ mru
notwrapped
NTMTo
overlined
passthrough
perlw
postmodern
Powerline
Expand All @@ -65,17 +68,19 @@ rubyw
runtimes
servicebus
slnt
ssh
stakeholders
subpage
subpages
sustainability
sxn
Tencent
toolset
Uids
ubuntu
UEFI
UIDs
uiatextrange
Uids
UIDs
und
vsdevcmd
westus
Expand Down
2 changes: 2 additions & 0 deletions .github/actions/spelling/allow/remove-after-merging.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
changelists
screenshots
Comment on lines +1 to +2
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these items could be removed later (items in expect will eventually cover them)

84 changes: 56 additions & 28 deletions .github/actions/spelling/candidate.patterns
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Repeated letters
\b([a-z])\g{-1}{2,}\b
\b([A-Za-z])\g{-1}{2,}\b

# marker to ignore all code on line
^.*/\* #no-spell-check-line \*/.*$
Expand All @@ -11,18 +11,18 @@
^.*\b[Cc][Ss][Pp][Ee][Ll]{2}:\s*[Dd][Ii][Ss][Aa][Bb][Ll][Ee]-[Ll][Ii][Nn][Ee]\b

# copyright
Copyright (?:\([Cc]\)|)(?:[-\d, ]|and)+(?: [A-Z][a-z]+ [A-Z][a-z]+,?)+
Copyright (?:\([Cc]\)|©|)(?:[-\d, ]|and)+(?: [A-Z][a-z]+ [A-Z][a-z]+,?)+

# patch hunk comments
^@@ -\d+(?:,\d+|) \+\d+(?:,\d+|) @@ .*
# git index header
index (?:[0-9a-z]{7,40},|)[0-9a-z]{7,40}\.\.[0-9a-z]{7,40}

# file permissions
['"`\s][-bcdLlpsw](?:[-r][-w][-Ssx]){2}[-r][-w][-SsTtx]\+?['"`\s]
(?:^|['"`\s])(?!-+\s)[-bcdLlpsw](?:[-r][-w][-Ssx]){2}[-r][-w][-SsTtx]\+?['"`\s]

# css fonts
\bfont(?:-family|):[^;}]+
\bfont(?:-family(?:[-\w+]*)|):[^;}]+

# css url wrappings
\burl\([^)]+\)
Expand All @@ -36,10 +36,10 @@ index (?:[0-9a-z]{7,40},|)[0-9a-z]{7,40}\.\.[0-9a-z]{7,40}
# data url in quotes
([`'"])data:(?:[^ `'"].*?|)(?:[A-Z]{3,}|[A-Z][a-z]{2,}|[a-z]{3,}).*\g{-1}
# data url
\bdata:[-a-zA-Z=;:/0-9+]*,\S*
\bdata:[-a-zA-Z=;:/0-9+_]*,\S*

# https/http/file urls
(?:\b(?:https?|ftp|file)://)[-A-Za-z0-9+&@#/*%?=~_|!:,.;]+[-A-Za-z0-9+&@#/*%=~_|]
#(?:\b(?:https?|ftp|file)://)[-A-Za-z0-9+&@#/*%?=~_|!:,.;]+[-A-Za-z0-9+&@#/*%=~_|]

# mailto urls
mailto:[-a-zA-Z=;:/?%&0-9+@._]{3,}
Expand Down Expand Up @@ -88,6 +88,9 @@ arn:aws:[-/:\w]+
# AWS VPC
vpc-\w+

# Azure AD
\baad\.\w{48}\b

# 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?&=_%]*
Expand Down Expand Up @@ -169,7 +172,7 @@ themes\.googleusercontent\.com/static/fonts/[^/\s"]+/v\d+/[^.]+.
GHSA(?:-[0-9a-z]{4}){3}

# GitHub actions
\buses:\s+[-\w.]+/[-\w./]+@[-\w.]+
\buses:\s+(['"]?)[-\w.]+/[-\w./]+@[-\w.]+\g{-1}

# GitLab commit
\bgitlab\.[^/\s"]*/\S+/\S+/commit/[0-9a-f]{7,16}#[0-9a-f]{40}\b
Expand Down Expand Up @@ -238,7 +241,7 @@ accounts\.binance\.com/[a-z/]*oauth/authorize\?[-0-9a-zA-Z&%]*
\bmedium\.com/@?[^/\s"]+/[-\w]+

# microsoft
\b(?:https?://|)(?:(?:(?:blogs|download\.visualstudio|docs|msdn2?|research)\.|)microsoft|blogs\.msdn)\.co(?:m|\.\w\w)/[-_a-zA-Z0-9()=./%]*
\b(?:https?://|)(?:(?:(?:blogs|download\.visualstudio|docs|msdn2?|research)\.|)microsoft|blogs\.msdn)\.co(?:m|\.\w\w)/[-_a-zA-Z0-9()=./%?#]*
# powerbi
\bapp\.powerbi\.com/reportEmbed/[^"' ]*
# vs devops
Expand Down Expand Up @@ -412,7 +415,7 @@ ipfs://[0-9a-zA-Z]{3,}
\bgetopts\s+(?:"[^"]+"|'[^']+')

# ANSI color codes
(?:\\(?:u00|x)1[Bb]|\\03[1-7]|\x1b|\\u\{1[Bb]\})\[\d+(?:;\d+)*m
#(?:\\(?:u00|x)1[Bb]|\\03[1-7]|\x1b|\\u\{1[Bb]\})\[(?:\d+(?:;\d+)*|)m

# URL escaped characters
%[0-9A-F][A-F](?=[A-Za-z])
Expand All @@ -430,7 +433,7 @@ sha\d+:[0-9a-f]*?[a-f]{3,}[0-9a-f]*
# sha-... -- uses a fancy capture
(\\?['"]|&quot;)[0-9a-f]{40,}\g{-1}
# hex runs
\b[0-9a-fA-F]{16,}\b
\b(?=(?:[a-fA-F]{0,2}\d)*[a-fA-F]{3})[0-9a-fA-F]{16,}\b
# hex in url queries
=[0-9a-fA-F]*?(?:[A-F]{3,}|[a-f]{3,})[0-9a-fA-F]*?&
# ssh
Expand All @@ -454,8 +457,12 @@ LS0tLS1CRUdJT.*

# uuid:
\b[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}\b
# hex digits including css/html color classes:
(?:[\\0][xX]|\\u|[uU]\+|#x?|%23|&H)[0-9_a-fA-FgGrR]*?[a-fA-FgGrR]{2,}[0-9_a-fA-FgGrR]*(?:[uUlL]{0,3}|[iu]\d+)\b

# unicode escaped characters (4)
\\u[0-9a-fA-F]{4}

# hex digits including css/html color classes
(?:[\\0][xX]|\\u\{?|[uU]\+|#x?|%23|&H)[0-9_a-fA-FgGrR]*?[a-fA-FgGrR]{2,}[0-9_a-fA-FgGrR]*(?:[uUlL]{0,3}|[iu]\d+)\b

# integrity
integrity=(['"])(?:\s*sha\d+-[-a-zA-Z=;:/0-9+]{40,})+\g{-1}
Expand All @@ -477,7 +484,7 @@ Name\[[^\]]+\]=.*
(?:(?:\b|_|(?<=[a-z]))I|(?:\b|_)(?:nsI|isA))(?=(?:[A-Z][a-z]{2,})+(?:[A-Z\d]|\b))

# python
\b(?i)py(?!gments|gmy|lon|ramid|ro|th)(?=[a-z]{2,})
\b(?i)py(?!gment|gmy|lon|ramid|ro|th)(?=[a-z]{2,})

# crypt
(['"])\$2[ayb]\$.{56}\g{-1}
Expand All @@ -497,12 +504,21 @@ Name\[[^\]]+\]=.*
# go.sum
\bh1:\S+

# golang print-f-style functions
#(?i)(?<=append|comma|debug|equal|err|error|exit|fatal|format|info|log|name|panic|print|skip|scan|string|trace|true|warn|warning|wrap|write)(?:f|ln)(?:[ (]|$)

# golang regular expression
#(?<!")\br".+?"

# imports
^import\s+(?:(?:static|type)\s+|)(?:[\w.]|\{\s*\w*?(?:,\s*(?:\w*|\*))+\s*\})+
^import\s+(?:(?:static|type)\s+|)(?:[\w.]|\{\s*\w*?(?:,\s*(?:\w*|\*))+\s*\})+(?:\s+from (['"]).*?\g{-1}|)

# scala modules
("[^"]+"\s*%%?\s*){2,3}"[^"]+"

# Dataframes / NumPy
\b(?:df|np)\.\w{3,}

# container images
image: [-\w./:@]+

Expand All @@ -513,7 +529,7 @@ image: [-\w./:@]+
\s*\S+/\S+\s+\S+\s+[0-9a-f]{8,}\s+\d+\s+(?:hour|day|week)s ago\s+[\d.]+[KMGT]B

# Intel intrinsics
_mm_(?!dd)\w+
_mm\d*_(?!dd)\w+

# Input to GitHub JSON
content: (['"])[-a-zA-Z=;:/0-9+]*=\g{-1}
Expand All @@ -532,12 +548,18 @@ content: (['"])[-a-zA-Z=;:/0-9+]*=\g{-1}
# Note that there's a high false positive rate, remove the `?=` and search for the regex to see if the matches seem like reasonable strings
(?<!['"])\b(?:B|BR|Br|F|FR|Fr|R|RB|RF|Rb|Rf|U|UR|Ur|b|bR|br|f|fR|fr|r|rB|rF|rb|rf|u|uR|ur)['"](?=[A-Z]{3,}|[A-Z][a-z]{2,}|[a-z]{3,})

# Regular expression for word breaks
#\\b(?=[a-z]{2})

# Regular expressions for (P|p)assword
\([A-Z]\|[a-z]\)[a-z]+

# Java regular expressions
Pattern\.(?:compile|matches)\(".*"

# JavaScript regular expressions
# javascript test regex
/.{3,}/[gim]*\.test\(
# javascript exec/test regex
/.{3,}?/[gim]*\.(?:exec|test)\(
# javascript match regex
\.match\(/[^/\s"]{3,}/[gim]*\s*
# javascript match regex
Expand All @@ -564,7 +586,7 @@ perl(?:\s+-[a-zA-Z]\w*)+
regexp?\.MustCompile\((?:`[^`]*`|".*"|'.*')\)

# regex choice
\(\?:[^)]+\|[^)]+\)
#\((?=[^)]*[a-zA-Z]{3})(?:\?:|)[^)|]+(?<! )\|(?!(?:jq|xargs)\b)[^)| ][^)]*\)

# proto
^\s*(\w+)\s\g{-1} =
Expand All @@ -587,6 +609,9 @@ urn:shemas-jetbrains-com
# Debian changelog severity
[-\w]+ \(.*\) (?:\w+|baseline|unstable|experimental); urgency=(?:low|medium|high|emergency|critical)\b

# Red Hat Package management spec file dependencies
^(?:Build|)Requires: [-.\w]+

# kubernetes pod status lists
# https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase
\w+(?:-\w+)+\s+\d+/\d+\s+(?:Running|Pending|Succeeded|Failed|Unknown)\s+
Expand Down Expand Up @@ -641,6 +666,8 @@ PrependWithABINamepsace
>[-a-zA-Z=;:/0-9+]{3,}=</
# base64 encoded content, possibly wrapped in mime
#(?:^|[\s=;:?])[-a-zA-Z=;:/0-9+]{50,}(?:[\s=;:?]|$)
# jwt
(?:\be[wy][-a-zA-Z=;:/0-9+]+\.){2}[-_\w]+
# base64 encoded json
\beyJ[-a-zA-Z=;:/0-9+]+
# base64 encoded pkcs
Expand Down Expand Up @@ -678,9 +705,9 @@ systemd.*?running in system mode \([-+].*\)$

# Non-English
# Even repositories expecting pure English content can unintentionally have Non-English content... People will occasionally mistakenly enter [homoglyphs](https://en.wikipedia.org/wiki/Homoglyph) which are essentially typos, and using this pattern will mean check-spelling will not complain about them.
#
# .
# If the content to be checked should be written in English and the only Non-English items will be people's names, then you can consider adding this.
#
# .
# 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:
# https://docs.check-spelling.dev/Feature:-Configurable-word-characters.html#unicode
[a-zA-Z]*[ÀÁÂÃÄÅÆČÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæčçèéêëìíîïðñòóôõöøùúûüýÿĀāŁłŃńŅņŒœŚśŠšŜŝŸŽžź][a-zA-Z]{3}[a-zA-ZÀÁÂÃÄÅÆČÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæčçèéêëìíîïðñòóôõöøùúûüýÿĀāŁłŃńŅņŒœŚśŠšŜŝŸŽžź]*|[a-zA-Z]{3,}[ÀÁÂÃÄÅÆČÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæčçèéêëìíîïðñòóôõöøùúûüýÿĀāŁłŃńŅņŒœŚśŠšŜŝŸŽžź]|[ÀÁÂÃÄÅÆČÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæčçèéêëìíîïðñòóôõöøùúûüýÿĀāŁłŃńŅņŒœŚśŠšŜŝŸŽžź][a-zA-Z]{3,}
Expand All @@ -692,7 +719,7 @@ systemd.*?running in system mode \([-+].*\)$
# This corpus only had capital letters, but you probably want lowercase ones as well.
\b[LN]'+[a-z]{2,}\b

# latex (check-spelling >= 0.0.22)
# LaTeX
\\\w{2,}\{

# American Mathematical Society (AMS) / Doxygen
Expand All @@ -719,7 +746,6 @@ nolint:\s*[\w,]+
# cygwin paths
/cygdrive/[a-zA-Z]/(?:Program Files(?: \(.*?\)| ?)(?:/[-+.~\\/()\w ]+)*|[-+.~\\/()\w])+

# in check-spelling@v0.0.22+, printf markers aren't automatically consumed
# printf markers
#(?<!\\)\\[nrt](?=[a-z]{2,})

Expand Down Expand Up @@ -750,18 +776,20 @@ W/"[^"]+"

# Compiler flags (Unix, Java/Scala)
# Use if you have things like `-Pdocker` and want to treat them as `docker`
#(?:^|[\t ,>"'`=(#])-(?:(?:J-|)[DPWXY]|[Llf])(?=[A-Z]{2,}|[A-Z][a-z]|[a-z]{2,})
#(?:^|[\t ,>"'`=\[(#])-(?:(?:J-|)[DPWXY]|[Llf])(?=[A-Z]{2,}|[A-Z][a-z]|[a-z]{2,})

# Compiler flags (Windows / PowerShell)
# This is a subset of the more general compiler flags pattern.
# It avoids matching `-Path` to prevent it from being treated as `ath`
#(?:^|[\t ,"'`=(#])-(?:[DPL](?=[A-Z]{2,})|[WXYlf](?=[A-Z]{2,}|[A-Z][a-z]|[a-z]{2,}))
#(?:^|[\t ,"'`=\[(#])-(?:[DPL](?=[A-Z]{2,})|[WXYlf](?=[A-Z]{2,}|[A-Z][a-z]|[a-z]{2,}))

# Compiler flags (linker)
,-B

# libraries
#(?:\b|_)[Ll]ib(?:re(?=office)|)(?!era[lt]|ero|erty|rar(?:i(?:an|es)|y))(?=[a-z])
# Library prefix
# e.g., `lib`+`archive`, `lib`+`raw`, `lib`+`unwind`
# (ignores some words that happen to start with `lib`)
#(?:\b|_)[Ll]ib(?!era[lt])(?:re(?=office)|era|)(?!ero|erty|rar(?:i(?:an|es)|y))(?=[a-z])

# iSCSI iqn (approximate regex)
\biqn\.[0-9]{4}-[0-9]{2}(?:[\.-][a-z][a-z0-9]*)*\b
Expand All @@ -772,9 +800,9 @@ W/"[^"]+"
# curl arguments
\b(?:\\n|)curl(?:\.exe|)(?:\s+-[a-zA-Z]{1,2}\b)*(?:\s+-[a-zA-Z]{3,})(?:\s+-[a-zA-Z]+)*
# set arguments
\b(?:bash|sh|set)(?:\s+[-+][abefimouxE]{1,2})*\s+[-+][abefimouxE]{3,}(?:\s+[-+][abefimouxE]+)*
\b(?:bash|(?<!\.)sh|set)(?:\s+[-+][abefimouxE]{1,2})*\s+[-+][abefimouxE]{3,}(?:\s+[-+][abefimouxE]+)*
# tar arguments
\b(?:\\n|)g?tar(?:\.exe|)(?:(?:\s+--[-a-zA-Z]+|\s+-[a-zA-Z]+|\s[ABGJMOPRSUWZacdfh-pr-xz]+\b)(?:=[^ ]*|))+
\b(?:\\n|)g?tar(?:\.exe|)(?:\s-C \S+|(?:\s+--[-a-zA-Z]+|\s+-[a-zA-Z]+|\s[ABGJMOPRSUWZacdfh-pr-xz]+\b)(?:=[^ ]*|))+
# tput arguments -- https://man7.org/linux/man-pages/man5/terminfo.5.html -- technically they can be more than 5 chars long...
\btput\s+(?:(?:-[SV]|-T\s*\w+)\s+)*\w{3,5}\b
# macOS temp folders
Expand Down
Loading
Loading