shreyasminocha / regex-for-regular-folk

🔍💪 Regular Expressions for Regular Folk — A visual, example-based introduction to RegEx [BETA]
https://refrf.dev
286 stars 23 forks source link

Hovering over regex fragments #10

Open shreyasminocha opened 4 years ago

shreyasminocha commented 4 years ago

One visual enhancement that could be really helpful would be to hover over the regex or the match and see the reciprocal highlighted.

donaldihunter on HN

vezycash commented 4 years ago

Would replacing regexr.com with https://scriptular.com/ help?

Also, sorry for this next suggestion because I just made you include it.

I know it's a lot of work but consider replacing regexper.com with https://jex.im/regulex

https://jex.im/regulex/#!flags=&re=%5E(a%7Cb)*%3F%24

Also use the embed feature and readers wouldn't have to click away to see the visualization.

vezycash commented 4 years ago

Also, sorry for this next suggestion because I just made you include it.

I know it's a lot of work but consider replacing regexper.com with https://jex.im/regulex

https://jex.im/regulex/#!flags=&re=%5E(a%7Cb)*%3F%24

Use the embed feature and your readers wouldn't have to click away to see the visualization.

shreyasminocha commented 4 years ago

@vezycash:

Would replacing regexr.com with https://scriptular.com/ help?

To be honest, I think regexr is more powerful and fully featured.

I know it's a lot of work but consider replacing regexper.com with https://jex.im/regulex

Sure, I can get behind this.

Use the embed feature …

I'm afraid this might be too distracting.

Thanks for the suggestions!

vezycash commented 4 years ago

I'm afraid this might be too distracting.

Test one or two embeds and ask readers to vote or comment?

To be honest, I think regexr is more powerful and fully featured.

Consider doing a test for this as well.