danielgtaylor / danielgtaylor/python-betterproto
Snake casing WORD regex mistakingly splitting lowercase mixed-digit field names
Aperta
compiler-bug
- Lingua principale
- Python
- Stelle
- 1.8k
- Fork
- 234
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Proto file:
```
message BadRegexTestMessage {
uint64 ds18b20_serial_code = 1;
}
```
Result:
```
class BadRegexTestMessage(betterproto.Message):
ds18_b20_serial_code: int = betterproto.uint64_field(1)
```
`ds18b20` becomes `ds18_b20`.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.