From: Yasuo Saito Date: 2002-02-26T23:45:43+09:00 Subject: Nested paired brackets in regexp Hi. Ruby's regular expression is very powerful. But, I cannot express paired brackets(<...>), which might be nested, in a single regular expression. How can I check nested paired brackets by a single/simple (extended) regular expression, if possible? eg. input | expected ------------------+-------------- "abef" | "" "abe" | "" "abfg>h>i" | "gh>i>" "abf" | not matched Y.Saito