zyedidia / sregx

A tool and library for using structural regular expressions.
MIT License
59 stars 4 forks source link

Unicode handling seems wrong. #4

Closed xihh87 closed 1 year ago

xihh87 commented 1 year ago

It seems like this tool is garbling unicode chars on sregx.

$ echo '- [ ] ' | sregx 's/- +\\[ \\] /c/- ☐ / | p'
- ☐