I believe he means "discard from memory". It is not possible, input-nlri and others are used to discard fast, regexps are not fast so are not available as a method to discard bgp update messages directly.
You can only reject with filters.
At least in v6 you had the option to discard with filters (instead of only reject).
The accept-nlri is much more limited because it accepts using an address list, and address lists do not have prefix-length.
For this case you would want to accept 0.0.0.0/0 with prefix length 0, but as an address list 0.0.0.0/0 simply accepts everything.
It would be better when accept-nlri would use some dedicated mechanism that is more like the v6 filtering where you can specify a list of items to be accepted or discarded. That would not need to have slow functions like regexp, just a simple list of prefixes with prefix length range. This case could then be written as:
action=accept prefix=0.0.0.0/0 prefix-len=0-0
action=discard