in reply to Re^5: regex return true instead of false (precedence)
in thread regex return true instead of false
I agree with your and GrandFather's leftist leaning when it comes to formatting complex logical expressions, but I think it's tangential to the main point made by haukex here: the statements
if ( condition ) {} else {code }
unless ( condition ) {code }
if ( ! (condition) ) {code }
are all exactly equivalent, so the condition expression within them does not need to change at all.
Give a man a fish: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: regex return true instead of false (precedence)
by Marshall (Canon) on Aug 27, 2019 at 02:33 UTC | |
by AnomalousMonk (Archbishop) on Aug 27, 2019 at 03:49 UTC | |
by GrandFather (Saint) on Aug 27, 2019 at 07:18 UTC | |
by AnomalousMonk (Archbishop) on Aug 27, 2019 at 14:27 UTC | |
by Marshall (Canon) on Aug 27, 2019 at 23:27 UTC |