match string handling from 3.1.2 in image number and release info line