Skip to content

Commit

Permalink
Control character can be non alphabetical
Browse files Browse the repository at this point in the history
  • Loading branch information
dashohoxha authored Jun 17, 2024
1 parent f362321 commit b651568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asciinema_automation/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def parse_script_file(inputfile: pathlib.Path, timeout: int) -> list["Instructio
# Compile regex
wait_time_regex = re.compile(r"^#\$ wait (\d*)(?!\S)")
delay_time_regex = re.compile(r"^#\$ delay (\d*)(?!\S)")
sendcontrol_command_regex = re.compile(r"^#\$ sendcontrol ([a-z])(?!\S)")
sendcontrol_command_regex = re.compile(r"^#\$ sendcontrol (.)(?!\S)")
sendcharacter_command_regex = re.compile(r"^#\$ sendcharacter (.*)(?!\S)")
expect_regex = re.compile(r"^#\$ expect (.*)(?!\S)")
send_regex = re.compile(r"^#\$ send (.*)(?!\S)")
Expand Down

0 comments on commit b651568

Please sign in to comment.