v.23.10Bug Fix

Fixed regex bug in match function with alternation pattern

Fixed bug of match function (regex) with pattern containing alternation produces incorrect key condition. Closes #53222. #54696 (Yakov Olkhovskiy).