This is a good testament to the readability of the regular expression. The actual parsing will extract the "foo" identifier from the following event:

    2013-10-07T09:53:43.036261+00:00 app[foo.1248]: message

The numeric suffix is optional, so I think string parsing without a regular expression will get somewhat bloated.