create RegExp object via string -> constructor

just to make commenting easier.
arrange conditions in main `.replace` call philosophically

i.e. from big to small:

- partials
- blocks
  - for .. in
  - if [.. not]
  - else
  - /for|/if
- variables [with defaults]
- irreguler (ignore)