rsiedl has asked for the wisdom of the Perl Monks concerning the following question:
i would like to be able to pull out the inner paren statement, check for true/false, then check the outer paren statement.( ( this OR that ) AND other )
think that will work? or can you suggest a better way/improvements?while (statement) { regex to match for inner paren's perform true/false test break out if failed and say so search/replace found regex in statement to nothing } if we get through without any failures, must mean pass
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: logically recurse parentheses
by friedo (Prior) on May 17, 2007 at 05:02 UTC | |
by Limbic~Region (Chancellor) on May 17, 2007 at 14:28 UTC | |
|
Re: logically recurse parentheses
by bobf (Monsignor) on May 17, 2007 at 05:02 UTC | |
|
Re: logically recurse parentheses
by BrowserUk (Patriarch) on May 17, 2007 at 06:11 UTC | |
|
Re: logically recurse parentheses
by johngg (Canon) on May 17, 2007 at 08:59 UTC | |
|
Re: logically recurse parentheses
by xicheng (Sexton) on May 17, 2007 at 06:31 UTC |