Skip to content

Commit

Permalink
Fixes #12114: parent patch broke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
VinceMacBuche committed Feb 13, 2018
1 parent 78832c3 commit 560214d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ncf_rudder.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def generate_rudder_reporting(technique):

# this regex allows to canonify everything except variables (same as builder/js/ncf.js:getClassKind)
regex = re.compile(r'((?:\w+|\$\{(?:[\w\.\[\]]|\$\{[\w\.\[\]]+?\})+?\})?)[^\$\w]')
key_value_canonified = regex.sub(r'\1_' key_value)
key_value_canonified = regex.sub(r'\1_', key_value)

# escape double quote
regex_quote = re.compile(r'(?<!\\)"', flags=re.UNICODE )
Expand Down

0 comments on commit 560214d

Please sign in to comment.