viewer plugin initial commit
updated regexp based matching