Test, validate and match regular expressions
This regex matches lines containing text followed by a bracketed section and then more text, commonly used to parse manga/doujinshi titles from Fakku or similar platforms where titles follow the pattern 'Name [Artist/Group] additional_info'. It captures four groups: the full match, the title before brackets, the bracketed content, and any text after. The global and multiline flags allow processing multiple lines of filenames.