 _ = require 'underscore'
 
 # RegExp snippets for reuse
-TS = '\\[(\d{1,2}:\d{2}(?: [aApP][mM])?)\\]' # [11:22 AM] *or* [16:00]
+TS = '\\[(\d{1,2}:\d{2}( [aApP][mM])?)\\]' # [11:22 AM] *or* [16:00]
 
 # RegExps
 rxWs = /^\s*$/

    if m?
      nick = m[1]
      ts = parseTs m[2]
      continue

    m = rxTsLine.exec line
    if m?
      ts = parseTs m[1]
      continue

    unless nick? and ts?

  parsed

module.exports = (lines) ->
  [nick, ts. ampm] = []

  result = []
  for line in lines
