The old docs mention that you can use '--' to make the regex seach on Payees instead of accounts. I can't get this to work, has it been changed for V3?
See the following seesion using the drewr.dat file included with the distro: macbook-2:input cpearls$ ledger -f drewr3.dat register -- Grocery macbook-2:input cpearls$ ledger -f drewr3.dat register -- Grocery Store macbook-2:input cpearls$ ledger -f drewr3.dat register -- "Grocery Store" macbook-2:input cpearls$ ledger -f drewr3.dat balance -- "Grocery Store" macbook-2:input cpearls$ ledger -f drewr3.dat balance -- Bank macbook-2:input cpearls$ ledger -f drewr3.dat balance --Bank Error: Illegal option --Bank macbook-2:input cpearls$ ledger -f drewr3.dat balance -- "Bank" macbook-2:input cpearls$ ledger -f drewr3.dat balance -- \^Bank\ -- Craig, Corona De Tucson, AZ enderw88.wordpress.com
