Bug #3177: Fix regex error for flow template instantiate in cloud view