Make code more succinct with DynamicVariable
WIP Clean up regex quoting