in reply to Search for consecutive flush left curly braces
This regex: /}.*(?!{)}/ will do what you want I believe.
It'll match }} and }adfa} but not }{} or }asdf{asdf} etc.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Search for consecutive flush left curly braces
by QM (Parson) on Jun 10, 2015 at 15:59 UTC | |
by stevieb (Canon) on Jun 10, 2015 at 16:05 UTC | |
by Athanasius (Archbishop) on Jun 10, 2015 at 17:08 UTC | |
by stevieb (Canon) on Jun 10, 2015 at 17:54 UTC | |
|
Re^2: Search for consecutive flush left curly braces
by ExReg (Priest) on Jun 10, 2015 at 16:36 UTC |