Fix false ruby information bug

Updated regex for information removal.