Implementation of raw string parser