Regular expression matching braces {}

Matches the regular expression in {},

\{[^\}]+\}

 

Matching `` `` {}, there are two front and rear anti-quotation marks,

Using \ {· [^ \}] + \}

 

Guess you like

Origin www.cnblogs.com/1394htw/p/12529767.html