Aren't we having fun trying to guess what the real scope and spec of the OP's problem really is!
Anyway, my 2p's worth:
I don't worry about OR. I happy to guess that both the input and output formats follow the usual precedence riule (AND higher than OR), so simply copying is OK.
I would be very worried about the possibility of extra bracketing. There isn't any visible or implied in the OPs posts, but if it were possible then the current solution is a non-starter and he will need a proper parser.
I too have no idea why the input format seems to have a redundant boolean operator, and it worries me. Why would someone design a syntax like that? It's one of those loose ends that when pulled can unravel the whole thing.
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
alan.davies commented: Just saw this after I posted :) +2
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
rproffitt commented: Excellent. +15
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
ddanbe commented: Yes, how could I ever doubt that +15
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
rproffitt commented: That's how clones are made! +15
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
rproffitt commented: Which logic! +15
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
rproffitt commented: Seems that folk are digging up old posts. Time for new discussions. +15
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
rproffitt commented: Ah, thermalprint. Nothing like a hot stamping in the morning. +0
rproffitt commented: So true. +15
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
rproffitt commented: It appears we are commenting on it. Besides it's also free of bugs. +15
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
Reverend Jim commented: Basically, them that has the gold makes the rules. +0
Agilemind commented: It is worrying how many people think Employers should be treated as royalty already. +0
rproffitt commented: If it's rich, take the riches too. +0
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
happygeek commented: Agreed - rarely ends well +0
rproffitt commented: Yes. A fixed IP ban should expire quickly. These are tools in the anti-spam war. Choose wisely. +0
ernie.cordell commented: I had a fixed IP and was banned by a robot for using a "commercial phrase." IP ban + robots = broken. +0
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
rproffitt commented: Nod to where Forums work. Tags? I'm not sold. +0
ernie.cordell commented: Agreed: Drill down works when search engines fail. You learn to come back because you find solutions. +0
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
Nightocoder201 commented: @JamesCherrill, I made a typo it suppsoe to say 3 / 5 not 3 / 3. my bad +0
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
rproffitt commented: Bending the curve at school. Do everyone's homework, you move up the ranks on tests. They learned nothing. +15
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
rproffitt commented: That's likely it. Unbalanced brackets. For each left there shall be a right. +0
rproffitt commented: I get it. But then I'm fixing a VB6 app this week too. +15
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
ryantroop commented: If I recall, PHP does not hoist like JavaScript. This is the problem. +9
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
stephen84s commented: Yea this is one I've never seen before +11
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
rproffitt commented: I am reading folk that want Page One results. That means cash to Google for well, you know. Placement. +0
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
rproffitt commented: Would be interesting to add up active member programming yerars. All active folk have been very nice, even to the new folk. +15
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
rproffitt commented: I bet over 100 years. First computer program for me was 1972. Ouch. +15
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
rproffitt commented: I worry this isn't the OP's code. I'm reading http://www.cs.utexas.edu/users/mckinley/305j/lectures/BlueJExamples/22-2Darrays/TicTacToe.java +15