[OT] Finding matching braces with regular expressions

suvayu ali fatkasuvayu+linux at gmail.com
Sun Mar 18 22:49:22 UTC 2012


On Sun, Mar 18, 2012 at 23:46, suvayu ali <fatkasuvayu+linux at gmail.com> wrote:
> So I was wondering if there was a way to "count" the braces and
> parentheses with regular expressions. If that is possible, I could
> easily count and find the matching brace.

I forgot to mention, the hints I found with some searching doesn't
quite work with multiline matches.

-- 
Suvayu

Open source is the future. It sets us free.


More information about the users mailing list