// For documentation of the format, see README in this directory.
var browserTests = [
["foo[]bar",
[["removeformat",""]],
"foo[]bar",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foo{}bar",
[["removeformat",""]],
"foo{}bar",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foo[]bar",
[["removeformat",""]],
"foo[]bar",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","true"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","false"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["foo[barbaz]",
[["stylewithcss","true"],["removeformat",""]],
"foo[barbaz]",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["foo[barbaz]",
[["stylewithcss","false"],["removeformat",""]],
"foo[barbaz]",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["foo[bar]baz",
[["stylewithcss","true"],["removeformat",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["foo[bar]baz",
[["stylewithcss","false"],["removeformat",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["foo[bar]baz",
[["stylewithcss","true"],["removeformat",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["foo[bar]baz",
[["stylewithcss","false"],["removeformat",""]],
"foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","true"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","false"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","true"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","false"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","true"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","false"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","true"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","false"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","true"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","false"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","true"],["removeformat",""]],
"foo [a] baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","false"],["removeformat",""]],
"foo [a] baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","true"],["removeformat",""]],
"foo [a] baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","false"],["removeformat",""]],
"foo [a] baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","true"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","false"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","true"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","false"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","true"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","false"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","true"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","false"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foobaz",
[["removeformat",""]],
"foo[a]baz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobar
baz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]r
baz",
[["removeformat",""]],
"foob
[a]r
baz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","true"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","false"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","true"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","false"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","true"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","false"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","true"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","false"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","true"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","false"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","true"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","false"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobar
baz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]r
baz",
[["removeformat",""]],
"foob
[a]r
baz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","true"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","false"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","true"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","false"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","true"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","false"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","true"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","false"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","true"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","false"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","true"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","false"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","true"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","false"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","true"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","false"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","true"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["stylewithcss","false"],["removeformat",""]],
"[foobarbaz]",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","true"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["stylewithcss","false"],["removeformat",""]],
"foob[a]rbaz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}],
["[foobarbaz]",
[["removeformat",""]],
"[foobarbaz]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["foob[a]rbaz",
[["removeformat",""]],
"foob[a]rbaz",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foo
bar]",
[["removeformat",""]],
"[foo
bar]",
[true],
{"removeformat":[false,false,"",false,false,""]}],
["[foo
foo[bar]baz
", [["removeformat",""]], "foo[bar]baz
", [true], {"removeformat":[false,false,"",false,false,""]}], ["foo[bar]baz
", [["stylewithcss","true"],["removeformat",""]], "foo[bar]baz
", [true,true], {"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}], ["foo[bar]baz
", [["stylewithcss","false"],["removeformat",""]], "foo[bar]baz
", [true,true], {"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}], ["foo[bar]baz
", [["stylewithcss","true"],["removeformat",""]], "foo[bar]baz
", [true,true], {"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}], ["foo[bar]baz
", [["stylewithcss","false"],["removeformat",""]], "foo[bar]baz
", [true,true], {"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}], ["foo[bar]baz
", [["stylewithcss","true"],["removeformat",""]], "foo[bar]baz
", [true,true], {"stylewithcss":[false,false,"",false,true,""],"removeformat":[false,false,"",false,false,""]}], ["foo[bar]baz
", [["stylewithcss","false"],["removeformat",""]], "foo[bar]baz
", [true,true], {"stylewithcss":[false,true,"",false,false,""],"removeformat":[false,false,"",false,false,""]}], ["foo[bar]baz
", [["removeformat",""]], "foo[bar]baz
", [true], {"removeformat":[false,false,"",false,false,""]}], ["{foobarbaz
}", [["removeformat",""]], "{foobarbaz
}", [true], {"removeformat":[false,false,"",false,false,""]}], ["foo[bar]baz
", [["removeformat",""]], "foo[bar]baz
", [true], {"removeformat":[false,false,"",false,false,""]}], ["{foobarbaz
}", [["removeformat",""]], "{foobarbaz
}", [true], {"removeformat":[false,false,"",false,false,""]}], ["foo |
foo |
foo |
foo |