name-value-eval-preparse: added matches() Python function for regular expressions (so acceptance tests don't need to say "!= None"); used rfind() instead of find() in ends_with() Python function; fixed quote() to output backslashes properly