RegExp log parsing