human
Regex and Octal Characters
assistant
Here is some code to find octal characters matches from a string `str` using regex

print(re.findall("'\\\\[0-7]{1,3}'", str))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.