Wykres commitów

3 Commity (5ad16c367883e1050140dcc43a88313f772612c2)

Autor SHA1 Wiadomość Data
Jared Hancock 5ad16c3678 re: Add test cases for end-before-start and negative values. 2024-03-28 09:17:18 -05:00
Jared Hancock 8c28d63538 re: Fixup linting of test files. 2024-03-26 22:08:40 -05:00
Jared Hancock 6f3c6d7de9 re: Add support for start- and endpos.
Pattern objects have two additional parameters for the ::search and
::match methods to define the starting and ending position of the
subject within the string to be searched.

This allows for searching a sub-string without creating a slice.
However, one caveat of using the start-pos rather than a slice is that
the start anchor (`^`) remains anchored to the beginning of the text.
2024-03-25 21:12:07 -05:00