Open zuckerruebe opened 1 year ago
As a developer I want to replace tokens in replaceAssignStatements.py using Pattern.split. Currently we do:
replaceAssignStatements.py
Pattern.split
for currentMatch in _CHANGE_ASSIGN_STATEMENT_PATTERN.finditer(originalDeckContent): _replaceAssignStatementBasedOnUnitVariable( previousMatch, currentMatch, unprocessedDeckContent, updatedDeckContent, newStatementsByCaseFoldedName )
Use Pattern.split instead: it will simplify the assembly of the new string.
As a developer I want to replace tokens in
replaceAssignStatements.py
usingPattern.split
. Currently we do:Use
Pattern.split
instead: it will simplify the assembly of the new string.