restore global environment on exit of knit()
cosmetic
use ? in regexp for non-greedy matching: http://stackoverflow.com/q/14360296/559676
empty inline expressions are no longer recognized (.* was changed to .+)
similarly ref.chunk was changed from .* to .+ because empty reference <<>> does not make sense
bump version