fork download
  1. --str = "{foo {baz}{bar}"
  2. str = "{Während|see{Was\\_auch\\_immmer}}{17}"
  3. first, second = str:match('{(.*)}%s*{(.*)}')
  4. print (first, "---", second)
Success #stdin #stdout 0s 14112KB
stdin
Standard input is empty
stdout
Während|see{Was\_auch\_immmer}	---	17