lua-patterns icon indicating copy to clipboard operation
lua-patterns copied to clipboard

RegEx Reader v1 - Issue 03

Open xguhx opened this issue 3 years ago • 0 comments

Hey @GitSparTV, This tries to implement #3.

I decided to go with Vanilla JS as you were using it already, I tried to use Rich Text Editor like CKEditor but could not make it work as RegEx101.

So what I did was just get input from a textfield, parse it and display it in a p tag.

In the end it looks like this:

Screenshot 2021-12-08 225448 ps. I tried to follow the color scheme you have on the site.

The logic is pretty simple, just some Ifs and adding span tags with certain classes. You can keep the code as it is and improve it if you want, or I can change it for you.

I did not inserted it on the main page because I don't know how would you like to display it.

Let me know what you think. Thank you for considering this.

xguhx avatar Dec 09 '21 04:12 xguhx