Comment on Omnomnom
Wildmimic@anarchist.nexus 1 week ago
an asterisk in regular expressions indicates an arbitrary amount of characters, so its probably avocados
Comment on Omnomnom
Wildmimic@anarchist.nexus 1 week ago
an asterisk in regular expressions indicates an arbitrary amount of characters, so its probably avocados
Ephera@lemmy.ml 1 week ago
In regular expressions, it would match “aaaaaaaas”, since character before the asterisk needs to be repeated. To match “avocados”, the pattern would need to be
a.*s
(ora\w*s
).Or alternatively,
a*s
as a glob pattern would match “avocados”.30p87@feddit.org 1 week ago
Or a[vocad]*s