Something is rotten in the state of Pattern parsing
Open
bug
core-libs
- Dominant language
- Haskell
- Stars
- 6k
- Forks
- 187
- Avg merge
- 8d 22h
- Merged PRs (30d)
- 4
Description
The parser for patterns seems not quite right; specifically there seems to be a problem with backlashes. Consider this example:
```clojure
(Pattern.substitute #"\b" "w\b" "\\\\b" -1) ; => throws an error about an unexpected quote
(Pattern.substitute &(Pattern.init "\b") "w\b" "\\\\b" -1) ; => works fine
```
(This is courtesy of the famous, revered, and all around great guy @TimDeve)
I volunteer to look into this.
Cheers
Contributor guide
Assessment
This issue has not been assessed yet.