Brian Skinn

Results 132 issues of Brian Skinn

Would (potentially) enable disentangling lines like this: ``` 13C 2dxy -0.021366 0.005705 0.011042 0.007804 0.006027 -0.007826 13C 6s -233.121201-49.113977 92.182871225.472592-144.464028 29.487827

enhancement
needs tests

Similar to #66, if fields get smashed into one another, it may be important to be able to specify the expected number of digits in an exponent.

enhancement
needs tests

IIRC, the default behavior for `+` quantity tokens is different in terms of the expectation of intervening spaces for numbers versus literals: numbers require spaces in between, whereas literals require...

doc

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("- - - - ") [[['-',...

doc

Compare the passing test cases [here for *head*](https://github.com/bskinn/pent/blob/2f41d4836789937067a3817d8fd5f4ee7654908a/pent/test/pent_base.py#L990), and [here for *tail*](https://github.com/bskinn/pent/blob/2f41d4836789937067a3817d8fd5f4ee7654908a/pent/test/pent_base.py#L1119). Presumably it has something to do with the regex *having* to match *head* in order to get to...

maybe
investigate

Debugging patterns would be facilitated by a quick helper function as in: ``` >>> from pent import parse_pattern >>> parse_pattern(pattern="&+", text="foo bar baz") [[['foo', 'bar', 'baz']]] ``` Other permutations of...

enhancement

Don't specifically need the token-level flags to only be permitted to fall in a particular order. Should be possible to allow them to be in arbitrary order; though, it *will*...

enhancement
maybe

A guided tour of the internals may be of interest to some adventurous users, and may serve as a narrowly-scoped, somewhat-advanced regex tutorial of sorts. Not urgent for v0.2, though....

doc

Downstream of #81, might as well still keep 3.4 in the test matrix to see what fails on it. If it's just selected tests due to idiosyncrasies that are nonfatal...

needs tests
administrative

Might as well make good use of `pathlib`! ~Probably shouldn't swap this until the README test has a skip added to only run on a specific python version, though.~ Can...

administrative
doc