cdgriffith / cdgriffith/Box

IPv4 addresses as keys

Open
#295 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.8k
Forks
135
PR merge metrics
No merged PRs in 30d

Description

We have a use case for IP addresses as keys, but this runs into a conflict with the Box dotted notation:
```
areas:
0.0.0.1:
kind: stub
```

becomes
```
areas:
0:
0:
0:
1: etc.
```

Would it be possible to add a regular expression for keys excluded from dot expansion?

Contributor guide

Open the contributing guide

Research direction

Start by locating the Box dotted-notation key expansion entry point and trace how the example key 0.0.0.1 is split. Define how a regular-expression exclusion would be configured and verify that matching keys remain intact while other dotted keys still expand; add or run focused tests for both behaviors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.