-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.aliasesrc_rg
267 lines (227 loc) · 15.1 KB
/
.aliasesrc_rg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
# ~/.aliasesrc_rg
## RIPGREP ALIASES ##
### Basic Text Pattern Matching
alias rg-word='rg -owz "\w{3,}"'
alias rg-word2='rg -owz "\S{3,}"'
alias rg-words='rg -owz "\w+(\s\w+)+"'
alias rg-words-sep='rg -owz "\w+(,.-\w+)+"'
alias rg-text='rg -owz "\w+(\W\w+)+"'
alias rg-quoted="rg -ow -e '[\"]([^\"]+)\"' -e \"[']([^']+)'\" -r '\$1'"
### Numbers & Basic Patterns
alias rg-number='rg -oz "[0-9]{2,}"'
alias rg-numbers-sep='rg -oz "\d+(,.\d+)+"'
alias rg-hex='rg -oz "[0-9a-fA-F]{2,}"'
### Cryptography & Hashes
alias rg-sha256='rg -owz "[A-Fa-f0-9]{64}"'
alias rg-uuid='rg "[0-9a-f]{8}\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{12}"'
alias rg-btc-addr='rg -Howz "[13][a-km-zA-HJ-NP-Z1-9]{25,34}|^(bc1|ltc1)[ac-hj-np-z02-9]{39,59}$|^(BC1|LTC1)[AC-HJ-NP-Z02-9]{39,59}"'
alias rg-wif='rg -owz "[59KLc][1-9A-HJ-NP-Za-km-z]{50,51}"'
### Internet & Network
alias rg-domain='rg -oz "([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}"'
alias rg-uri='rg -owz "[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)"'
alias rg-url='rg -owz "\w+://[^.]+.([-a-zA-Z0-9@:%_+.~#?&//=]*)"'
alias rg-email="rg -ow '[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+'"
alias rg-mailto='rg -oz "mailto:[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9.-]+"'
alias rg-ip="rg -ow '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}'"
alias rg-domain2urls='rg -o "([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}" -r "$(printf "\$0\nhttp://\$0\nhttps://\$0\nhttp://www.\$0\nhttps://www.\$0\n")"'
### Unicode & Special Characters
alias rg-unicode='rg -oz "[\x{0100}-\x{FFFF}]+"'
alias rg-emoji='rg -oz "[\x{1F1FF}-\x{1F600}]+"'
alias rg-accent-words='rg -o "\w{0,}[ąęáàâäãåćéèêëńíìîïóòôöõúùûüçñýÿźż]\w{0,}"'
alias rg-var="rg -oz '\\\$[^(){}<>:; ]+'"
### Social Media
alias rg-handle='rg -oz "@[a-zA-Z]\w{4,}"'
alias rg-hashtag='rg -oz "#[a-zA-Z]\w{4,}"'
### System & File Utilities
alias rg-all='rg -uuuz'
alias rg-all-pipe='tr -d "\0" | rg -uuu'
alias conv_rm_xml_lines="rg -v '[<>]'"
### Sequential Pattern Matching
alias rg_1S="rg -o '\S+'"
alias rg_1w="rg -o '(\w{3,20})'"
alias rg_2S="rg -o '\S+\s+\S+'"
alias rg_2w="rg -o '(\w{3,20})\W(\w{3,20})'"
alias rg_2W='rg -o "(\w{3,20})\W(\w{3,20})" -r "\$1 \$2$(printf "\n\r")\$2 \$1" | tr -d "\r"'
alias rg_3S="rg -o '\S+\s+\S+\s+\S+'"
alias rg_3w="rg -o '(\w{3,20})\W(\w{3,20})\W(\w{3,20})'"
alias rg_3W='rg -o "(\w{3,20})\W(\w{3,20})\W(\w{3,20})" -r "\$1 \$2 \$3$(printf "\n\r")\$1 \$3 \$2$(printf "\n\r")\$2 \$1 \$3$(printf "\n\r")\$2 \$3 \$1$(printf "\n\r")\$3 \$1 \$2$(printf "\n\r")\$3 \$2 \$1" | tr -d "\r"'
alias rg_4S="rg -o '\S+\s+\S+\s+\S+\s+\S+'"
alias rg_4w="rg -o '(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})'"
alias rg_4W='rg -o "(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})" -r "\$1 \$2 \$3 \$4$(printf "\n\r")\$1 \$3 \$2 \$4$(printf "\n\r")\$2 \$1 \$3 \$4$(printf "\n\r")\$2 \$3 \$1 \$4$(printf "\n\r")\$3 \$1 \$2 \$4$(printf "\n\r")\$3 \$2 \$1 \$4$(printf "\n\r")\$1 \$2 \$4 \$3$(printf "\n\r")\$1 \$3 \$4 \$2$(printf "\n\r")\$2 \$1 \$4 \$3$(printf "\n\r")\$2 \$3 \$4 \$1$(printf "\n\r")\$3 \$1 \$4 \$2$(printf "\n\r")\$3 \$2 \$4 \$1$(printf "\n\r")\$1 \$4 \$2 \$3$(printf "\n\r")\$1 \$4 \$3 \$2$(printf "\n\r")\$2 \$4 \$1 \$3$(printf "\n\r")\$2 \$4 \$3 \$1$(printf "\n\r")\$3 \$4 \$1 \$2$(printf "\n\r")\$3 \$4 \$2 \$1$(printf "\n\r")\$4 \$1 \$2 \$3$(printf "\n\r")\$4 \$1 \$3 \$2$(printf "\n\r")\$4 \$2 \$1 \$3$(printf "\n\r")\$4 \$2 \$3 \$1$(printf "\n\r")\$4 \$3 \$1 \$2$(printf "\n\r")\$4 \$3 \$2 \$1" | tr -d "\r"'
alias rg_5S="rg -o '\S+\s+\S+\s+\S+\s+\S+\s+\S+'"
alias rg_5w="rg -o '(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})'"
alias rg_6S="rg -o '\S+\s+\S+\s+\S+\s+\S+\s+\S+\s+\S+'"
alias rg_6w="rg -o '(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})'"
alias rg_7S="rg -o '\S+\s+\S+\s+\S+\s+\S+\s+\S+\s+\S+'"
alias rg_7w="rg -o '(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})'"
alias rg_8S="rg -o '\S+\s+\S+\s+\S+\s+\S+\s+\S+\s+\S+\s+\S+'"
alias rg_8w="rg -o '(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})'"
alias rg_9S="rg -o '\S+\s+\S+\s+\S+\s+\S+\s+\S+\s+\S+\s+\S+\s+\S+'"
alias rg_9w="rg -o '(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})\W(\w{3,20})'"
alias rg_ww="tee >(rg_2w) >(rg_3w) >(rg_4w) >(rg_5w) >(rg_6w) >(rg_7w) >(rg_8w) >(rg_9w) >/dev/null"
### Language filtering
#### East Asian Scripts
alias rg-lang-chinese='rg -oz "[\x{4E00}-\x{9FFF}]+"' # Chinese (Basic)
alias rg-lang-chinese-ext='rg -oz "[\x{3400}-\x{4DBF}]+"' # CJK Extension A
alias rg-lang-chinese-rare='rg -oz "[\x{20000}-\x{2A6DF}]+"' # CJK Extension B
alias rg-lang-japanese-half='rg -oz "[\x{FF66}-\x{FF9F}]+"' # Halfwidth Katakana
alias rg-lang-japanese-kana='rg -oz "[\x{3040}-\x{309F}\x{30A0}-\x{30FF}]+"' # Hiragana & Katakana
alias rg-lang-korean-jamo='rg -oz "[\x{1100}-\x{11FF}]+"' # Hangul Jamo (Basic consonants and vowels)
alias rg-lang-korean-compat='rg -oz "[\x{3130}-\x{318F}]+"' # Hangul Compatibility Jamo
alias rg-lang-korean-syllables='rg -oz "[\x{AC00}-\x{D7AF}]+"' # Hangul Syllables
alias rg-lang-korean-jamo-ext='rg -oz "[\x{A960}-\x{A97F}]+"' # Hangul Jamo Extended-A
alias rg-lang-korean-all='rg -oz "[\x{1100}-\x{11FF}\x{3130}-\x{318F}\x{AC00}-\x{D7AF}\x{A960}-\x{A97F}]+"' # All Korean ranges
#### South Asian Scripts
alias rg-lang-bengali='rg -oz "[\x{0980}-\x{09FF}]+"' # Bengali
alias rg-lang-devanagari='rg -oz "[\x{0900}-\x{097F}]+"' # Devanagari (Hindi/Sanskrit)
alias rg-lang-gujarati='rg -oz "[\x{0A80}-\x{0AFF}]+"' # Gujarati
alias rg-lang-gurmukhi='rg -oz "[\x{0A00}-\x{0A7F}]+"' # Gurmukhi (Punjabi)
alias rg-lang-hindi='rg -oz "[\x{0905}-\x{097f}]+"' # Hindi
alias rg-lang-kannada='rg -oz "[\x{0C80}-\x{0CFF}]+"' # Kannada
alias rg-lang-malayalam='rg -oz "[\x{0D00}-\x{0D7F}]+"' # Malayalam
alias rg-lang-tamil='rg -oz "[\x{0B80}-\x{0BFF}]+"' # Tamil
alias rg-lang-telugu='rg -oz "[\x{0C00}-\x{0C7F}]+"' # Telugu
#### Middle Eastern Scripts
alias rg-lang-arabic='rg -oz "[\x{0621}-\x{0669}]+"' # Arabic
alias rg-lang-hebrew='rg -oz "[\x{0590}-\x{05FE}]+"' # Hebrew
#### European and Caucasian Scripts
alias rg-lang-armenian='rg -oz "[\x{0531}-\x{0587}]+"' # Armenian
alias rg-lang-georgian='rg -oz "[\x{10A0}-\x{10FF}]+"' # Georgian
alias rg-lang-greek='rg -oz "[\x{0374}-\x{03FF}]+"' # Greek
alias rg-lang-russian='rg -oz "[а-яёА-ЯЁ]+"' # Russian
alias rg-lang-accent-chars='rg -oz "[ąęáàâäãåćéèêëńíìîïóòôöõúùûüçñýÿźż]+"' # Latin Accented Characters
#### Southeast Asian Scripts
alias rg-lang-khmer='rg -oz "[\x{1780}-\x{17FF}]+"' # Khmer
alias rg-lang-lao='rg -oz "[\x{0E80}-\x{0EFF}]+"' # Lao
alias rg-lang-myanmar='rg -oz "[\x{1000}-\x{109F}]+"' # Myanmar (Burmese)
alias rg-lang-thai='rg -oz "[\x{0E00}-\x{0E7F}]+"' # Thai
#### Other Scripts
alias rg-lang-ethiopic='rg -oz "[\x{1200}-\x{137F}]+"' # Ethiopic
alias rg-lang-mongolian='rg -oz "[\x{1800}-\x{18AF}]+"' # Mongolian
alias rg-lang-sinhala='rg -oz "[\x{0D80}-\x{0DFF}]+"' # Sinhala
alias rg-lang-tibetan='rg -oz "[\x{0F00}-\x{0FFF}]+"' # Tibetan
#### Symbols and Punctuation
alias rg-arrows='rg -oz "[\x{2190}-\x{21FF}]+"' # Arrows
alias rg-box-drawing='rg -oz "[\x{2500}-\x{257F}]+"' # Box Drawing
alias rg-currency='rg -oz "[\x{20A0}-\x{20CF}]+"' # Currency Symbols
alias rg-dingbats='rg -oz "[\x{2700}-\x{27BF}]+"' # Dingbats
alias rg-emoji='rg -oz "[\x{1F300}-\x{1F9FF}]+"' # Emoji
alias rg-emoji-basic='rg -oz "[\x{1F1FF}-\x{1F600}]+"' # Basic Emoji Range
alias rg-math='rg -oz "[\x{2200}-\x{22FF}]+"' # Mathematical Operators
alias rg-punctuation='rg -oz "[\x{2000}-\x{206F}]+"' # General Punctuation
alias rg-superscript='rg -oz "[\x{2070}-\x{209F}]+"' # Superscripts and Subscripts
#### Combined Searches
alias rg-lang-cjk='rg -oz "[\x{4E00}-\x{9FFF}\x{3400}-\x{4DBF}\x{20000}-\x{2A6DF}]+"' # All CJK
alias rg-lang-indic='rg -oz "[\x{0900}-\x{0DFF}]+"' # All Indic Scripts
alias rg-lang-symbols='rg -oz "[\x{2190}-\x{22FF}\x{2700}-\x{27BF}]+"' # Arrows, Math, Dingbats
#### Extended European Scripts
alias rg-lang-coptic='rg -oz "[\x{2C80}-\x{2CFF}]+"' # Coptic
alias rg-lang-cyrillic-ext='rg -oz "[\x{0400}-\x{04FF}\x{0500}-\x{052F}]+"' # Extended Cyrillic
alias rg-lang-gothic='rg -oz "[\x{10330}-\x{1034F}]+"' # Gothic
alias rg-lang-runic='rg -oz "[\x{16A0}-\x{16FF}]+"' # Runic
#### Combined Searches (Additional)
alias rg-lang-east-asian='rg -oz "[\x{4E00}-\x{9FFF}\x{3040}-\x{30FF}\x{AC00}-\x{D7AF}]+"' # CJK Combined
alias rg-lang-south-asian='rg -oz "[\x{0900}-\x{0DFF}\x{0980}-\x{0FFF}]+"' # All South Asian Scripts
alias rg-lang-european='rg -oz "[\x{0100}-\x{024F}\x{1E00}-\x{1EFF}]+"' # Extended Latin
#### Ancient Scripts
alias rg-lang-cuneiform='rg -oz "[\x{12000}-\x{123FF}]+"' # Cuneiform
alias rg-lang-linearb='rg -oz "[\x{10000}-\x{1007F}]+"' # Linear B
alias rg-lang-phoenician='rg -oz "[\x{10900}-\x{1091F}]+"' # Phoenician
alias rg-lang-hieroglyph='rg -oz "[\x{13000}-\x{1342F}]+"' # Egyptian Hieroglyphs
alias rg-lang-ancient-greek='rg -oz "[\x{10140}-\x{1018F}]+"' # Ancient Greek Numbers
alias rg-lang-linear-b='rg -oz "[\x{10000}-\x{1007F}]+"' # Linear B
#### Additional European Scripts
alias rg-lang-ogham='rg -oz "[\x{1680}-\x{169F}]+"' # Ogham
alias rg-lang-olditalic='rg -oz "[\x{10300}-\x{1032F}]+"' # Old Italic
alias rg-lang-glagolitic='rg -oz "[\x{2C00}-\x{2C5F}]+"' # Glagolitic
alias rg-lang-runic='rg -oz "[\x{16A0}-\x{16FF}]+"' # Runic
#### African Scripts
alias rg-lang-nko='rg -oz "[\x{07C0}-\x{07FF}]+"' # N'Ko
alias rg-lang-tifinagh='rg -oz "[\x{2D30}-\x{2D7F}]+"' # Tifinagh
alias rg-lang-vai='rg -oz "[\x{A500}-\x{A63F}]+"' # Vai
alias rg-lang-bamum='rg -oz "[\x{A6A0}-\x{A6FF}]+"' # Bamum
#### Additional Scripts
alias rg-lang-adlam='rg -oz "[\x{1E900}-\x{1E95F}]+"' # Adlam (West African)
alias rg-lang-balinese='rg -oz "[\x{1B00}-\x{1B7F}]+"' # Balinese
alias rg-lang-javanese='rg -oz "[\x{A980}-\x{A9DF}]+"' # Javanese
alias rg-lang-mongolian-ext='rg -oz "[\x{11660}-\x{1167F}]+"' # Mongolian Extension
alias rg-lang-oriya='rg -oz "[\x{0B00}-\x{0B7F}]+"' # Oriya/Odia
alias rg-lang-sundanese='rg -oz "[\x{1B80}-\x{1BBF}]+"' # Sundanese
alias rg-lang-syriac='rg -oz "[\x{0700}-\x{074F}]+"' # Syriac
alias rg-lang-thaana='rg -oz "[\x{0780}-\x{07BF}]+"' # Thaana
alias rg-lang-yi='rg -oz "[\x{A000}-\x{A48F}]+"' # Yi Syllables
#### Combined Regional Scripts
alias rg-lang-indonesian='rg -oz "[\x{1B00}-\x{1B7F}\x{A980}-\x{A9DF}\x{1B80}-\x{1BBF}]+"' # Balinese, Javanese, Sundanese
alias rg-lang-african-ext='rg -oz "[\x{1E900}-\x{1E95F}\x{07C0}-\x{07FF}]+"' # Adlam, NKo
#### Phonetic and IPA
alias rg-lang-ipa='rg -oz "[\x{0250}-\x{02AF}]+"' # IPA Extensions
alias rg-lang-phonetic='rg -oz "[\x{1D00}-\x{1D7F}]+"' # Phonetic Extensions
alias rg-lang-phonetic-ext='rg -oz "[\x{1D80}-\x{1DBF}]+"' # Phonetic Extensions Supplement
#### Special Notations
alias rg-lang-music='rg -oz "[\x{1D100}-\x{1D1FF}]+"' # Musical Symbols
alias rg-lang-math-a='rg -oz "[\x{1D400}-\x{1D7FF}]+"' # Mathematical Alphanumeric Symbols
alias rg-lang-braille='rg -oz "[\x{2800}-\x{28FF}]+"' # Braille Patterns
#### Combined Extended Searches
alias rg-lang-ancient-all='rg -oz "[\x{12000}-\x{123FF}\x{10000}-\x{1007F}\x{10900}-\x{1091F}\x{13000}-\x{1342F}]+"' # All Ancient Scripts
alias rg-lang-phonetic-all='rg -oz "[\x{0250}-\x{02AF}\x{1D00}-\x{1D7F}\x{1D80}-\x{1DBF}]+"' # All Phonetic Symbols
#### Drawing & ASCII Art
alias rg-box='rg -oz "[\x{2500}-\x{257F}]+"' # Box Drawing Elements
alias rg-block='rg -oz "[\x{2580}-\x{259F}]+"' # Block Elements
alias rg-shapes='rg -oz "[\x{25A0}-\x{25FF}]+"' # Geometric Shapes
alias rg-lines='rg -oz "[\x{2500}-\x{2570}]+"' # Box Drawing Lines
alias rg-corners='rg -oz "[\x{2571}-\x{257B}]+"' # Box Drawing Corners
alias rg-shading='rg -oz "[\x{2591}-\x{2593}]+"' # Shading Blocks
alias rg-terminal='rg -oz "[\x{2580}-\x{259F}\x{2500}-\x{257F}]+"' # Terminal Drawing
#### Combined Art Searches
alias rg-ascii-art='rg -oz "[\x{2500}-\x{257F}\x{2580}-\x{259F}\x{25A0}-\x{25FF}]+"' # All Drawing Characters
alias rg-art-extended='rg -oz "[\x{2500}-\x{257F}\x{2580}-\x{259F}\x{25A0}-\x{25FF}\x{2700}-\x{27BF}]+"' # Drawing + Dingbats
### Extended Symbol Ranges
alias rg-emoji-emotions='rg -oz "[\x{1F600}-\x{1F64F}]+"' # Emoticons
alias rg-emoji-transport='rg -oz "[\x{1F680}-\x{1F6FF}]+"' # Transport & Map Symbols
alias rg-emoji-misc='rg -oz "[\x{1F300}-\x{1F5FF}]+"' # Misc Symbols & Pictographs
alias rg-emoji-food='rg -oz "[\x{1F32D}-\x{1F37F}]+"' # Food & Drink
### Mathematical & Technical
alias rg-math-operators='rg -oz "[\x{2200}-\x{22FF}]+"' # Mathematical Operators
alias rg-math-symbols='rg -oz "[\x{27C0}-\x{27EF}]+"' # Miscellaneous Mathematical Symbols-A
alias rg-math-arrows='rg -oz "[\x{27F0}-\x{27FF}]+"' # Supplemental Arrows-A
alias rg-tech-symbols='rg -oz "[\x{2300}-\x{23FF}]+"' # Miscellaneous Technical
### Games & Entertainment
alias rg-cards='rg -oz "[\x{1F0A0}-\x{1F0FF}]+"' # Playing Cards
alias rg-chess='rg -oz "[\x{2654}-\x{265F}]+"' # Chess Symbols
alias rg-dice='rg -oz "[\x{2680}-\x{2685}]+"' # Die Faces
alias rg-domino='rg -oz "[\x{1F030}-\x{1F093}]+"' # Domino Tiles
alias rg-mahjong='rg -oz "[\x{1F000}-\x{1F02F}]+"' # Mahjong Tiles
### Additional CJK Ranges
alias rg-cjk-radicals='rg -oz "[\x{2E80}-\x{2EFF}]+"' # CJK Radicals Supplement
alias rg-cjk-strokes='rg -oz "[\x{31C0}-\x{31EF}]+"' # CJK Strokes
alias rg-cjk-symbols='rg -oz "[\x{3200}-\x{32FF}]+"' # Enclosed CJK Letters and Months
### Historic Scripts
alias rg-lang-ancient-greek='rg -oz "[\x{10140}-\x{1018F}]+"' # Ancient Greek Numbers
alias rg-lang-runes='rg -oz "[\x{16A0}-\x{16FF}]+"' # Runic
alias rg-lang-hieroglyphs='rg -oz "[\x{13000}-\x{1342F}]+"' # Egyptian Hieroglyphs
### Musical Notation
alias rg-music-symbols='rg -oz "[\x{1D100}-\x{1D1FF}]+"' # Musical Symbols
alias rg-music-ancient='rg -oz "[\x{1D200}-\x{1D24F}]+"' # Ancient Greek Musical Notation
### Basic Latin & Extensions
alias rg-lang-latin-basic='rg -oz "[\x{0000}-\x{007F}]+"' # Basic Latin
alias rg-lang-latin-1='rg -oz "[\x{0080}-\x{00FF}]+"' # Latin-1 Supplement
alias rg-lang-latin-a='rg -oz "[\x{0100}-\x{017F}]+"' # Latin Extended-A
alias rg-lang-latin-b='rg -oz "[\x{0180}-\x{024F}]+"' # Latin Extended-B
alias rg-lang-latin-add='rg -oz "[\x{1E00}-\x{1EFF}]+"' # Latin Extended Additional
### Punctuation & Symbols
alias rg-letterlike='rg -oz "[\x{2100}-\x{214F}]+"' # Letterlike Symbols
alias rg-number-forms='rg -oz "[\x{2150}-\x{218F}]+"' # Number Forms
alias rg-enclosed-alpha='rg -oz "[\x{2460}-\x{24FF}]+"' # Enclosed Alphanumerics
alias rg-enclosed-alpha-supp='rg -oz "[\x{1F100}-\x{1F1FF}]+"' # Enclosed Alphanumeric Supplement
alias rg-shapes='rg -oz "[\x{25A0}-\x{25FF}]+"' # Geometric Shapes
alias rg-misc-symbols='rg -oz "[\x{2600}-\x{26FF}]+"' # Miscellaneous Symbols
### Additional CJK
alias rg-cjk-radicals-supp='rg -oz "[\x{2E80}-\x{2EFF}]+"' # CJK Radicals Supplement
alias rg-kangxi='rg -oz "[\x{2F00}-\x{2FDF}]+"' # Kangxi Radicals
alias rg-cjk-symbols='rg -oz "[\x{3000}-\x{303F}]+"' # CJK Symbols and Punctuation
alias rg-cjk-compat='rg -oz "[\x{3300}-\x{33FF}]+"' # CJK Compatibility
alias rg-cjk-ext-c='rg -oz "[\x{2A700}-\x{2B73F}]+"' # CJK Extension C
alias rg-cjk-ext-d='rg -oz "[\x{2B740}-\x{2B81F}]+"' # CJK Extension D
### Ripgrep All
alias rgai="rga --color=never -I"
alias rgai-words="rga --color=never -I '\w+(\s\w+)+'"