Fix ASN.1 lexer: recognize minus sign and fix range operator by h1whelan · Pull Request #3060 · pygments/pygments

@h1whelan @claude

…tion

Two fixes for the ASN.1 lexer:

1. Add `-` to the operator pattern so negative values in constraints
   like `(-50..150)` are tokenized correctly instead of producing an
   error token for the minus sign.

2. Require at least one digit after the decimal point in float literals
   (`\d+\.\d+` instead of `\d+\.\d*`). This prevents `50..150` from
   being incorrectly tokenized as float `50.` + punctuation `.` + int
   `150`, instead of the correct int `50` + range `..` + int `150`.

Fixes pygments#3014.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>