Patent ID: 8261241

Claim:
A computer-implemented method comprising: (a) accessing a source code, wherein the source code comprises one or more formatted-string output functions, wherein one or more of the formatted-string output functions: is adapted to instruct a computer executing the source code to output a string entry to an output file; has an associated marker; and comprises a format string, wherein the format string includes one or more type specifiers; (b) processing the one or more formatted-string output functions using a data structure, wherein, for each processed formatted-string output function, the processing comprises: generating a corresponding regular expression for the format string of said each processed formatted-string output function; and using the data structure to associate the corresponding regular expression with the associated marker of said each processed formatted-string output function; and (c) processing the output file using the data structure to associate a string entry in the output file with an associated marker of a formatted-string output function that outputted the string entry, the processing comprises, for a string entry of the output file: matching the string entry to one of the regular expressions of the data structure; and associating the string entry with the marker associated with the matching regular expression of the data structure.