For example:
%syntax-version=1.0.0
%project=test
testa[test]test 2024-05-23T11:14:35Z Žiga Leber <mail+github@zigaleber.com> # Add schema
testb [testa[test]test] 2024-05-23T11:16:00Z Žiga Leber <mail+github@zigaleber.com> # Something
This fails with:
Syntax error in sqitch.plan at line 5: Invalid name; names must not begin with punctuation, contain "@", ":", "#", "\", or blanks, or end in punctuation or digits following punctuation
The issue arises due to, the regex assumes the dependencies cannot contain ]. The example is then parsed as testb [testa[test] followed by test].
The easiest solution would be to revise the rule to: All other characters may be any UTF-8 character other than “:”, “@”, “#”, “\” and "]".