You could wrap RegexpHash around DB_file. It wouldn't be quick though.
In reply to Re: BerkeleyDB & Regex by BrowserUk in thread BerkeleyDB & Regex by jling