fix broken parsing of RE