Test, validate and match regular expressions
This regex matches AsciiDoc source block indicators such as [source, python] or [source,java], capturing the language name into a group. It is useful for parsing AsciiDoc documents to identify code blocks and their programming language, enabling syntax highlighting or extraction. The optional space after the comma allows for common formatting variations. Use with multiline mode to find these indicators at the start of lines.