jeffreytse / zsh-vi-mode

💻 A better and friendly vi(vim) mode plugin for ZSH.
MIT License
2.93k stars 102 forks source link

Fix: Failed to compile regex: trailing backslash (\) in Termux #269

Closed GR3YH4TT3R93 closed 4 months ago

GR3YH4TT3R93 commented 4 months ago

On Android 14, an error occurs upon entering a command in termux while using this plugin. The contained changes fix that issue while not creating addt'l issues on main debian machine.

GR3YH4TT3R93 commented 4 months ago

I have raised the issue with turmux but they said it wasn't an issue. I don't understand regex enough to know the rules but from what I got from their replies, it's supposed to be escaped as I have done. They do not intend to do anything about it so I'm not sure what to do next...

jeffreytse commented 4 months ago

Please refer to issue #159.

GR3YH4TT3R93 commented 4 months ago

That works but it's unfortunate that there's not a more permanent solution... Thank you for the info!