finding bbcode plugin..

I have tried following plugins:
http://github.com/jarrett/rbbcode
http://github.com/cpjolicoeur/bb-ruby

But they has one bad thing: they can't parse codes with same codes
inside, for example:
[quote]
  [quote]I'm juggernaut, bitch![/quote]
o rly?
[/quote]

Ah, rbbcode is able to parse it, but it's very hard to add your own
codes. Also it has very bad thing: it converts [b][b][b][/b][/b][/b]
to self-closing tag <strong/>, and it looks awful in resulting HTML
(all text after the tag looks bold)

bb-ruby uses .gsub to parse it, so there is no way to work with
recursive codes =\.

If you use any plugin/gem, or have written something own, please help
me with it =)

^^^