Skip to content

Commit

Permalink
Fixed tabbed_text parser when color info is absent
Browse files Browse the repository at this point in the history
  • Loading branch information
Vhati committed May 23, 2013
1 parent 476cf85 commit 34c281c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parsers/tabbed_text.py
Expand Up @@ -51,7 +51,7 @@ def fetch_snarks(src_path, first_msg, options={}, keep_alive_func=None, sleep_fu

if (not src_path): raise common.ParserError("The %s parser requires the general arg, \"src_path\", to be set." % re.sub(".*[.]", "", __name__))

snark_ptn = re.compile("[^t]*\t([0-9]{4})-([0-9]{2})-([0-9]{2}) ([0-9]{2}):([0-9]{2}):([0-9]{2})\t([0-9A-Fa-f]{6}?)\t([^\t]+)\t([^\t]+)")
snark_ptn = re.compile("[^t]*\t([0-9]{4})-([0-9]{2})-([0-9]{2}) ([0-9]{2}):([0-9]{2}):([0-9]{2})\t(|[0-9A-Fa-f]{6})\t([^\t]+)\t([^\t]+)")

# List of pattern/replacement tuples to strip reply topic from comments.
reply_regexes = []
Expand Down

0 comments on commit 34c281c

Please sign in to comment.