3 ms·
FWIW, I think ruby 1.9 actually has syntax for recursive expressions via callable backreferences, but while I can whip up something that will match balanced par
by riffraff 15y ago
FWIW, I think ruby 1.9 actually has syntax for recursive expressions via callable backreferences, but while I can whip up something that will match balanced parenthesis I am not clear on how it could be used to build a tree-like structure.