Vyacheslav Karamov schreef:
> Hi All!
> 
> I need to capture something in braces using regular expressions.
> But I don't need to capture wrong data:
> 
> [Some text] - correct
> (Some text) - also correct
> [Some text) - wrong
> (Some text] - also wrong

http://search.cpan.org 
look for Regexp::Common, 
more specifically Regexp::Common::balanced. 

-- 
Affijn, Ruud

"Gewoon is een tijger."

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to