Error parsing match (pattern guards, array patterns)

If we copy and paste examples from the documentation: https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_basics.html#pattern-guards, we can see some are not parsed correctly.

The following examples fail to parse:

Array patterns:

match point:
	[var x, var y] when y == x:
		print("Point on line y = x")

Dictionary pattern

match x:
	{"name", "age"}:
		print("Has a name and an age, but it's not Dennis :(")

Pattern Guard

match x:
	_ when x > 0:
		print("pos")