Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions python/typing_counter.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@
tc_options = {}

# regexp to match ${color} tags
regex_color=re.compile('\$\{([^\{\}]+)\}')
regex_color=re.compile(r'\$\{([^\{\}]+)\}')

# regexp to match ${optional string} tags
regex_optional_tags=re.compile('%\{[^\{\}]+\}')
regex_optional_tags=re.compile(r'%\{[^\{\}]+\}')

def command_run_cb (data, signal, signal_data):
if tc_options['warn_command'] == '':
Expand Down