var browserTests = [
["foo[]bar",
[["createlink","http://www.google.com/"]],
"foo[]bar",
[true],
{"createlink":[false,false,"",false,false,""]}],
["
[foo
bar]
",
[["createlink","http://www.google.com/"]],
"[foo
bar]
",
[true],
{"createlink":[false,false,"",false,false,""]}],
["[foo bar]",
[["createlink","http://www.google.com/"]],
"[foo bar]",
[true],
{"createlink":[false,false,"",false,false,""]}],
["[foo
bar
baz]
",
[["createlink","http://www.google.com/"]],
"[foo
bar
baz]
",
[true],
{"createlink":[false,false,"",false,false,""]}],
["[foo
bar]",
[["createlink","http://www.google.com/"]],
"
[foo
bar]
",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[]bar",
[["createlink","http://www.google.com/"]],
"foo[]bar",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[]bar",
[["createlink","http://www.google.com/"]],
"foo[]bar",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo{}bar",
[["createlink","http://www.google.com/"]],
"foo{}bar",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[]bar",
[["createlink","http://www.google.com/"]],
"foo[]bar",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[bar]baz",
[["createlink","http://www.google.com/"]],
"foo[bar]baz",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[barbaz]qozquz",
[["createlink","http://www.google.com/"]],
"foo[barbaz]qozquz",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[barbaz]qozquz",
[["createlink","http://www.google.com/"]],
"foo[barbaz]qozquz",
[true],
{"createlink":[false,false,"",false,false,""]}],
["{
foo
}",
[["createlink","http://www.google.com/"]],
"{
foo
}",
[true],
{"createlink":[false,false,"",false,false,""]}],
["",
[["createlink","http://www.google.com/"]],
"",
[true],
{"createlink":[false,false,"",false,false,""]}],
["",
[["createlink","http://www.google.com/"]],
"",
[true],
{"createlink":[false,false,"",false,false,""]}],
["",
[["createlink","http://www.google.com/"]],
"",
[true],
{"createlink":[false,false,"",false,false,""]}],
["",
[["createlink","http://www.google.com/"]],
"",
[true],
{"createlink":[false,false,"",false,false,""]}],
["",
[["createlink","http://www.google.com/"]],
"",
[true],
{"createlink":[false,false,"",false,false,""]}],
["{}",
[["createlink","http://www.google.com/"]],
"{}",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[bar]baz",
[["createlink","http://www.google.com/"]],
"foo[bar]baz",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[barbaz}",
[["createlink","http://www.google.com/"]],
"foo[barbaz}",
[true],
{"createlink":[false,false,"",false,false,""]}],
["{foobar]baz",
[["createlink","http://www.google.com/"]],
"{foobar]baz",
[true],
{"createlink":[false,false,"",false,false,""]}],
["{foobarbaz}",
[["createlink","http://www.google.com/"]],
"{foobarbaz}",
[true],
{"createlink":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["createlink","http://www.google.com/"]],
"[foobarbaz]",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[bar]baz",
[["createlink","http://www.google.com/"]],
"foo[bar]baz",
[true],
{"createlink":[false,false,"",false,false,""]}],
["[foo]barbaz",
[["createlink","http://www.google.com/"]],
"[foo]barbaz",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foobar[baz]",
[["createlink","http://www.google.com/"]],
"foobar[baz]",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[bar]baz",
[["createlink","http://www.google.com/"]],
"foo[bar]baz",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[barbaz]",
[["createlink","http://www.google.com/"]],
"foo[barbaz]",
[true],
{"createlink":[false,false,"",false,false,""]}],
["[foobar]baz",
[["createlink","http://www.google.com/"]],
"[foobar]baz",
[true],
{"createlink":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["createlink","http://www.google.com/"]],
"[foobarbaz]",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[bar]baz",
[["createlink","http://www.google.com/"]],
"foo[bar]baz",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[barbaz}",
[["createlink","http://www.google.com/"]],
"foo[barbaz}",
[true],
{"createlink":[false,false,"",false,false,""]}],
["{foobar]baz",
[["createlink","http://www.google.com/"]],
"{foobar]baz",
[true],
{"createlink":[false,false,"",false,false,""]}],
["{foobarbaz}",
[["createlink","http://www.google.com/"]],
"{foobarbaz}",
[true],
{"createlink":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["createlink","http://www.google.com/"]],
"[foobarbaz]",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[bar]baz",
[["createlink","http://www.google.com/"]],
"foo[bar]baz",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[bar]baz",
[["createlink","http://www.google.com/"]],
"foo[bar]baz",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[barbaz]",
[["createlink","http://www.google.com/"]],
"foo[barbaz]",
[true],
{"createlink":[false,false,"",false,false,""]}],
["[foobar]baz",
[["createlink","http://www.google.com/"]],
"[foobar]baz",
[true],
{"createlink":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["createlink","http://www.google.com/"]],
"[foobarbaz]",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[bar]baz",
[["createlink","http://www.google.com/"]],
"foo[bar]baz",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[barbaz}",
[["createlink","http://www.google.com/"]],
"foo[barbaz}",
[true],
{"createlink":[false,false,"",false,false,""]}],
["{foobar]baz",
[["createlink","http://www.google.com/"]],
"{foobar]baz",
[true],
{"createlink":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["createlink","http://www.google.com/"]],
"[foobarbaz]",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[bar]baz",
[["createlink","http://www.google.com/"]],
"foo[bar]baz",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[bar]baz",
[["createlink","http://www.google.com/"]],
"foo[bar]baz",
[true],
{"createlink":[false,false,"",false,false,""]}],
["foo[bar]baz",
[["createlink",""]],
"foo[bar]baz",
[false],
{"createlink":[false,false,"",false,false,""]}]
]