v.23.5New Feature

Allow dictGetAll for regexp dictionaries to return multiple matches as arrays

Allow the dictGetAll function for regexp tree dictionaries to return values from multiple matches as arrays. Closes #50254. #50255 (Johann Gan).
Allow the dictGetAll function to return values from multiple matches as arrays for regexp tree dictionaries.

Why it matters

This feature enables users to retrieve all matching dictionary entries when using regexp tree dictionaries, rather than only a single match. It solves the problem of limited results in pattern-based dictionary lookups, providing more comprehensive and useful data retrieval.

How to use it

Use the dictGetAll function in your queries with regexp tree dictionaries to get arrays of values for multiple matches. This replaces or extends the previous dictGet behavior which returned only one match per key.