PDI-10646 - Fixing regression in regex eval