Re: String Template

2013-12-28 Thread Cristiano Araujo
On Friday, December 27, 2013 9:55:00 AM UTC-3, Giuseppe Tripoli wrote: > Hello > > > > I'm rewriting a program previously written in C #, and trying to keep the > same configuration file, I have a problem with untapped strings. > > > > The previous configuration files provide an input templa

Re: String Template

2013-12-28 Thread Chris Angelico
On Sat, Dec 28, 2013 at 11:33 PM, Giuseppe Tripoli wrote: > Certainly the quickest and easiest method is to use the regex, but I did not > really intend to change the configuration file. Then all you need is a way to convert your config file string into a regex, which shouldn't be too difficult.

Re: String Template

2013-12-28 Thread Giuseppe Tripoli
The problem is that I have a huge amount of log apache, log Akami, log cotendo, log iis ... messily all together. And the program does is that, according to the file name, use the configuration file to read. Certainly the quickest and easiest method is to use the regex, but I did not really int

Re: String Template

2013-12-27 Thread Chris Angelico
On Fri, Dec 27, 2013 at 11:55 PM, wrote: > I'm rewriting a program previously written in C #, and trying to keep the > same configuration file, I have a problem with untapped strings. Not sure what you mean by "untapped" here? > Taking for example a classic line of apache log: > > 0.0.0.0 - [2