Within the constraints you've outlined, seems like this might work for you?
print for $s =~ m[( (?: \( [^)]+ \) ) | \S+ )]gx;; this is (some more) JOY code
In reply to Re: Splitting on unusual regex
by BrowserUk
in thread Splitting on unusual regex
by dewey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |