Skip to content

Base numbers #4

@halirutan

Description

@halirutan

I haven't tested it but I was looking over the code to implement the Rogue highlighter in a similar way. When I see this right, then this line is suspicious

BASE_NUMBER = r'{integer}\s*\^\^\s*({real}|{integer})'.format(integer=INTEGER, real=REAL)
  1. Why is there whitespace allowed before and after ^^?
  2. Does it catch the case 2^^00110011*^+3?
  3. Does it work with characters like in 16^^abc?

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