Open bskinn opened 5 years ago
E.g.:
>>> pent.Parser(body="@!+-").capture_body("----") [[['----']]] >>> pent.Parser(body="@!+-").capture_body("-- --") [] >>> pent.Parser(body="@!+-").capture_body("- - - -") [] >>> pent.Parser(body="'@!+- '").capture_body("- - - -") [] >>> pent.Parser(body="'@!+- '").capture_body("- - - - ") [[['-', '-', '-', '-']]] >>> pent.Parser(body="'@!+- '").capture_body("- - - -") [] >>> pent.Parser(body="'@!+- ' @.-").capture_body("- - - -") [] >>> pent.Parser(body="'@!+- ' @!.-").capture_body("- - - -") [] >>> pent.Parser(body="'@x!+- ' @!.-").capture_body("- - - -") [[['-', '-', '-', '-']]]
E.g.: