Added Regexes and import code for IR block
Added Regexes and import code for IR block

Also re-implemented some of the other searches with a helper
  variable (m_work), to minimize the number of times the
  Regex search is run for each block.

bskinn/opan,bskinn/opan