Scusa, correzione al pattern:

Codice PHP:
preg_match_all('#\{\s*\{([^{}]*)\}\s*\{([^{}]*)\}\s*\}#'$str$matchPREG_SET_ORDER);