Simplified matching function backend selection. Added backend for std::regex.
Updated docs.