fork(2) download
  1. import re
  2. str = r"char = '\077'"
  3. print (re.findall(r"'\\0[0-7]{2}'", str))
Success #stdin #stdout 0.01s 8968KB
stdin
Standard input is empty
stdout
["'\\077'"]