Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rgb and rgba colors with space character(s) #15

Open
civky opened this issue Mar 20, 2021 · 0 comments
Open

Rgb and rgba colors with space character(s) #15

civky opened this issue Mar 20, 2021 · 0 comments

Comments

@civky
Copy link

civky commented Mar 20, 2021

Hello :)

I really like this plugin, but i have issues with this format rgba(137, 61, 220, 0.8). Can you accept some changes in rgb/rgba RegEx?

Something, like this...
(rgba\((1?[0-9]{1,2}|2[0-4][0-9]|25[0-5]), *(1?[0-9]{1,2}|2[0-4][0-9]|25[0-5]), *(1?[0-9]{1,2}|2[0-4][0-9]|25[0-5]), *(0?.?[0-9]+|1.0+|1)\)|rgb\((1?[0-9]{1,2}|2[0-4][0-9]|25[0-5]), *(1?[0-9]{1,2}|2[0-4][0-9]|25[0-5]), *(1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])\))

@civky civky changed the title Rgb and rgba colors with Rgb and rgba colors with space character(s) Mar 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant