~/ learn/ comp-325/ cards/ Building a pattern out of position constraints
1 of 9

Build the pattern one constraint at a time, testing with echo

Build the pattern one constraint at a time, testing with echo

Answer

echo ~/personal/[bcAT]* echo ~/personal/[bcAT]??* echo ~/personal/[bcAT]??[^0-9a-zA-Z]*

Each line adds exactly one constraint, and the selection should shrink each time. If it does not shrink, the element you just added is not doing what you think.

Sarwar & Koretsky 3e ch4 §4.5.2

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/91c84bee-682d-4907-af94-d9d7d7261d4a/flashcard utf-8 LF