in reply to Help with a logical structure for an if statement
Here's another option:
if("\b$player_one_race\b$player_two_race\b" =~ /(?=.*\bterran\b)(?=.*\ +bzerg\b)/) { ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Help with a logical structure for an if statement
by choroba (Cardinal) on May 02, 2012 at 09:01 UTC |