Skip to content

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

@civky

Description

@civky

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])\))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions