this is (some more) JOY code #### "this", "is", "(some more)", "JOY", "code" #### # match when between unescaped reverse parens # ..or start/end of string @script = split / (?<= #lookbehind (only remove whitespaces) (^| #for start of string or (?