diff options
-rwxr-xr-x | scripts/unocommands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/unocommands.py b/scripts/unocommands.py index fa44e83497..4400c4586e 100755 --- a/scripts/unocommands.py +++ b/scripts/unocommands.py @@ -60,11 +60,11 @@ def commandsFromLine(line): # Extract uno commands name from lines like " {uno: '.uno:Command3'," def commandFromMenuLine(line): - m = re.search(r"\buno: *'\.uno:([^']*)'", line) + m = re.search(r"\b_UNO\('.uno:([^']*)'", line) if m: return [m.group(1)] - m = re.search(r"\b_UNO\('.uno:([^']*)'", line) + m = re.search(r"\buno: *'\.uno:([^']*)'", line) if m: return [m.group(1)] |