StackOverflowError for Machine.add
Open
- Dominant language
- Java
- Stars
- 1.3k
- Forks
- 165
- PR merge metrics
- No merged PRs in 30d
Description
Hey, I was combining many (>10.000) similar file names to a unified regexp (all escaped and `|`-ed).
In Java it compiles (though is extremely slow), but in Re2/j it fails with a stack overflow:
```
Caused by: java.lang.StackOverflowError
at com.google.re2j.Machine.add(Machine.java:358)
at com.google.re2j.Machine.add(Machine.java:358)
etc ...
```
Contributor guide
Assessment
This issue has not been assessed yet.