The 'if not self._valid(ref)' branch is *always* executed because ref still...
The 'if not self._valid(ref)' branch is *always* executed because ref still includes the ${} substitution marker around it. Update the _valid regular expression to include the markers, shaving off 4 tests for every substitution.
Showing
Please register or sign in to comment