Skip to content

Commit

Permalink
Fix bug that doesn't allow to iterate through tickers with a dot (#5489)
Browse files Browse the repository at this point in the history
  • Loading branch information
DidierRLopes authored Sep 28, 2023
1 parent a1d1fbf commit 40ae229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openbb_terminal/routine_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def parse_openbb_script( # noqa: PLR0911,PLR0912
for line in lines_with_vars_replaced:
# Found 'foreach' header associated with loop
match = re.search(
r"foreach \$\$([A-Za-z\_]+) in ([A-Za-z0-9,-]+)", line, re.IGNORECASE
r"foreach \$\$([A-Za-z\_]+) in ([A-Za-z0-9,-.]+)", line, re.IGNORECASE
)
if match:
varname = match.group(1)
Expand Down

0 comments on commit 40ae229

Please sign in to comment.