use regexp for parsing readelf output