* [x] `re.sub` * [x] `\1` vs. `$1` * [ ] `\\n` gets processed to `\n` * [ ] Function callback, and match objects * [ ] `re.search` * [ ] `re.match` * [ ] `re.finditer` * [ ] `re.compile` → `new RegExp` * [ ] followed by `.sub` etc. * [x] Raw strings outside of regular expressions (including replacement strings) * [x] Regular expressions starting or ending with space (`/` parsing)
re.sub\1vs.$1\\ngets processed to\nre.searchre.matchre.finditerre.compile→new RegExp.subetc./parsing)