This commit fix the bug, that in ruby expression with regular returns the index instead of boolean.