regex is applied with "match". 
"clear all the keys", i.e., match everything, is achieved with ".*" (for 
the regex "undergrads", "." means anything, "*" means repeated >= times).
In the code there is a special case for clear(regex=None): it will delete 
all keys, without scanning all keys one by one and matching the regex (at 
least in cache.ram and cache.disk implementations)


On Tuesday, September 4, 2012 7:50:20 PM UTC+2, rochacbruno wrote:
>
>
> Small question..
>
> cache.ram.clear(regex='*')  will clear the whole cache?
>

-- 



Reply via email to