Skip to content

Commit

Permalink
fix regex for conditioning
Browse files Browse the repository at this point in the history
  • Loading branch information
etcetra7n committed Jun 19, 2024
1 parent 8f0af0c commit 7668c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gester/gest.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def play():
...
[endblock]
'''
con = re.search(r'\[ *{ *([a-zA-Z0-9_]+) *} +[\'\"]?(.*?)[\'\"]?? *\]', line)
con = re.search(r'\[ *{ *([a-zA-Z0-9_]+) *} +[\'\"]?(.*?)[\'\"]? *\]', line)
if con:
if in_game_vars[con.group(1)] == con.group(2):
line_index += 1
Expand Down

0 comments on commit 7668c81

Please sign in to comment.