added regex for parsing conditions and toggles from hrefs