Skip to content

Support equivalent of blank nrformats #128

Description

@dominikh

The built-in CTRL-A supports the following option in nrformats:

blank	If included, treat numbers as signed or unsigned based on
	preceding whitespace.  If a number with a leading dash has its
	dash immediately preceded by a non-whitespace character (i.e.,
	not a tab or a " "), the negative sign won't be considered as
	part of the number. 

It would be nice if augend.integer supported this mode, instead of having to use different values for natural for different scenarios.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions