regexp func changed to eval impl