debug-viewer: Fixed C++ destructors detection

https://bugzilla.gnome.org/show_bug.cgi?id=793447
This commit is contained in:
Xabier Rodriguez Calvar 2018-02-14 13:30:41 +01:00 committed by Tim-Philipp Müller
parent 32d146b7de
commit 47415e50e1

View file

@ -155,7 +155,7 @@ def default_log_line_regex_():
PID = r"(\d+)\s*"
FILENAME = r"([^:]*):"
LINE = r"(\d+):"
FUNCTION = "([A-Za-z0-9_]*|operator\(\)):"
FUNCTION = "(~?[A-Za-z0-9_]*|operator\(\)):"
# FIXME: When non-g(st)object stuff is logged with *_OBJECT (like
# buffers!), the address is printed *without* <> brackets!
OBJECT = "(?:<([^>]+)>)?"