Namespace Globbing #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Namespace Globbing Implementation
Behavior Specification
Pattern Matching
*(single-level wildcard)ctx:*ctx:foo,ctx:bar,ctx:bazctx:foo:sub,ctx, (empty segment)**(multi-level wildcard)ctx:**ctx:foo,ctx:foo:bar,ctx:foo:bar:bazctx(the prefix itself)Combined patterns
ctx:project:*ctx:project:ideas,ctx:project:bugsctx:project,ctx:project:ideas:archivedOutput Format
When a pattern is detected (contains
*or**), output is a list of namespace keys:This is the LISTING format (with numbers). For export:
Outputs (no numbers):
Implementation Algorithm
Command Behavior
Integration Points
In
vlist.rsModify
parse_list_and_command:Add new function:
Testing
Error Handling
Glob with mutation command:
No matches:
Mixed glob and literal:
Future Extensions
ctx:*:ideas(already supported by design)*:project:*(more complex)ctx:**but notctx:archive:**(later)