// For documentation of the format, see README in this directory. 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,""]}], ["
foob[a]rbaz
", [["createlink","http://www.google.com/"]], "
foob[a]rbaz
", [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,""]}], ["
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,""]}], ["{
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]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,""]}], ["foo[bar]baz", [["createlink","http://www.google.com/\u65E5\u672C\u8A9E\u30D1\u30B9"]], "foo[bar]baz", [true], {"createlink":[false,false,"",false,false,""]}], ]