edited string mapper for regex mapreduce test