Fixing issue #8 where a dollar ($) symbol affects the regex for inline variables