minecraft commands. mcfunction syntax commands detection.
finds every command in 1st group and subcommands in 2nd group.
excludes every comments, and matches command even if it has spaces in the beginning. This exact regex is used for datapackhub.net datapack mcfunction downgrader.
Submitted by anonymous - a year ago