extract regexp

- Cache regex
- Replace " with '
- Change nano definition to be within 'fn'