[C++][Python] replace_substring_regex hangs indefinitely for negative max_replacements
Aperta
Component: C++
Component: Python
good-first-issue
Type: bug
- Lingua principale
- C++
- Stelle
- 17.1k
- Fork
- 4.3k
- Merge medio
- 3g 23h
- PR unite (30g)
- 101
Descrizione
### Describe the bug, including details regarding any error messages, version, and platform.
`pa.compute.replace_substring_regex("abc", "", "", max_replacements=-3)`
This call hangs indefinitely
```
>>> pa.__version__
'14.0.0'
```
### Component(s)
C++, Python
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.