1. A computer-implemented method comprising: (a) accessing a source code, wherein the source code comprises one or more formatted-string output functions, wherein each of the one or more 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; and (b) processing the one or more formatted-string output functions, 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 associating the corresponding regular expression with the associated marker of said each processed formatted-string output function.