Brainweaver: got regexes working