(Feb-21-2018, 04:36 PM)tjnichols Wrote:
Error:NameError: global name 'completion_name_regex' is not defined
The error is very descriptive. You're trying to use a variable that doesn't exist.
Here's your code, with the string removed. Hopefully you see the issue :)
completion_regex = "" completion_pattern = re.compile(completion_name_regex)Unrelated, but for your sanity, you should avoid having spaces in your file names. As is, how would you import your file into a different script?