Version: latest
agrag.schema.shorthand.parse_pattern
parse_pattern(text:str) -> list[list[str]] | None
Read Source->Target text into [source, target] pairs.
Returns:
list[list[str]] | None– The expanded pairs, orNonewhen the text has no arrow.