Correctly parse categories with digits in them (fixes flump3dec, v4l2src messages)
authorRené Stadler <mail@renestadler.de>
Mon, 21 Jan 2008 11:24:02 +0000 (13:24 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Thu, 11 Sep 2014 18:51:44 +0000 (20:51 +0200)
debug-viewer/GstDebugViewer/Data.py

index 8e36451..32920cd 100644 (file)
@@ -118,7 +118,7 @@ def default_log_line_regex_ ():
     THREAD = r"(0x[0-9a-f]+) +" #r"\((0x[0-9a-f]+) - "
     # "0:00:00.777913000  "
     TIME = r"([0-9]+:[0-9][0-9]:[0-9][0-9]\.[0-9]+) +"
-    CATEGORY = "([A-Za-z_-]+) +" # "GST_REFCOUNTING ", "flacdec "
+    CATEGORY = "([A-Za-z0-9_-]+) +" # "GST_REFCOUNTING ", "flacdec "
     # "  3089 "
     PID = r"([0-9]+) +"
     FILENAME = r"([^:]+):"