tomiis4 / hypersonic.nvim

A Neovim plugin that provides an explanation for regular expressions.
Apache License 2.0
214 stars 3 forks source link

Feature: Add support for multiple regex engines #17

Open MikeLemo1 opened 2 months ago

MikeLemo1 commented 2 months ago

Useful for anyone who works across multiple platforms, not an expert in regex for now for suffered from the struggle here's a list of some of the available engines: https://www.regexmagic.com/flavors.html

The ones I used the most are: Vim, Lua, Python, JS, PHP and maybe in the future Golang regex engine.

Does the plugin already support nvim's lua regex btw?

tomiis4 commented 1 month ago

Hello, I'm sorry for the late response, it fully support LUA and PHP but other engines may work too.

MikeLemo1 commented 1 month ago

Yeah but escaping chars and wildcard expansion inside sets doesn't work it is different than the regex treatment you have in say regex101.com So it's not exactly the same