regular expressions
Posted: Mon Sep 18, 2006 12:57 pm
I have a string like "if(a > b,if(a > c,true,false),false)" and i want to parse it with regular expressions to work like a if...then..else procedure.
It's easy if i do with just "if(a > b,true,false)" but i want to support nested conditions but i cant get no solution =S besides im new to regular expressions =S
Any one knows how to do it ???
It's easy if i do with just "if(a > b,true,false)" but i want to support nested conditions but i cant get no solution =S besides im new to regular expressions =S
Any one knows how to do it ???