mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 20:42:26 +00:00
escape dot (#4753)
This commit is contained in:
@@ -170,7 +170,7 @@ def parse_and_split_input(an_input: str, custom_filters: List) -> List[str]:
|
||||
# everything from ` -f ` to the next known extension
|
||||
file_flag = r"(\ -f |\ --file )"
|
||||
up_to = r".*?"
|
||||
known_extensions = r"(\.xlsx|.csv|.xls|.tsv|.json|.yaml|.ini|.openbb|.ipynb)"
|
||||
known_extensions = r"(\.(xlsx|csv|xls|tsv|json|yaml|ini|openbb|ipynb))"
|
||||
unix_path_arg_exp = f"({file_flag}{up_to}{known_extensions})"
|
||||
|
||||
# Add custom expressions to handle edge cases of individual controllers
|
||||
|
||||
Reference in New Issue
Block a user