• M
    Restore Regex support for ObjectLibrary::Register, rename new APIs to allow... · 1973fcba
    mrambacher 提交于
    Restore Regex support for ObjectLibrary::Register, rename new APIs to allow old one to be deprecated in the future (#9362)
    
    Summary:
    In order to support old-style regex function registration, restored the original "Register<T>(string, Factory)" method using regular expressions.  The PatternEntry methods were left in place but renamed to AddFactory.  The goal is to allow for the deprecation of the original regex Registry method in an upcoming release.
    
    Added modes to the PatternEntry kMatchZeroOrMore and kMatchAtLeastOne to match * or +, respectively (kMatchAtLeastOne was the original behavior).
    
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/9362
    
    Reviewed By: pdillinger
    
    Differential Revision: D33432562
    
    Pulled By: mrambacher
    
    fbshipit-source-id: ed88ab3f9a2ad0d525c7bd1692873f9bb3209d02
    1973fcba
statistics.cc 22.7 KB