in reply to Re^3: Generate a truth table from input string
in thread Generate a truth table from input string
$str =~ s/(\w+)'/!$1/g; $str =~ s/\(([^\)]+)\)'/!($1)/g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Generate a truth table from input string
by ikegami (Patriarch) on May 13, 2008 at 18:43 UTC | |
by tachyon-II (Chaplain) on May 14, 2008 at 00:30 UTC | |
by Anonymous Monk on Oct 28, 2017 at 11:46 UTC | |
by Discipulus (Canon) on Oct 28, 2017 at 15:47 UTC | |
by roboticus (Chancellor) on Oct 28, 2017 at 23:01 UTC | |
by roboticus (Chancellor) on Oct 28, 2017 at 23:18 UTC |