We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PASS "1px solid rgba(10, 10, 10, 1)" => ["1px", "solid", "rgba(10, 10, 10, 1)"]
PASS "rgba(10, 10, 10, 0.5) rgba(10, 10, 10, 1) test 10" => ["rgba(10, 10, 10, 0.5)", "rgba(10, 10, 10,1)", "test", "10"]
FAIL "gradient(rgba(10, 10, 10, 0.5) rgba(10, 10, 10, 1) test 10)" => Expected ["gradient(rgba(10, 10, 10, 0.5) rgba(10, 10, 10, 1) test 10)"] => Result ["gradient(rgba(10, 10, 10, 0.5)", "rgba(10, 10, 10, 1) test 10)"]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1. /\S*([\s\S]*)|\S+/g
=> ["1px", "solid", "rgba(10, 10, 10, 1)"]
=> Expected ["rgba(10, 10, 10, 0.5)", "rgba(10, 10, 10,1)", "test", "10"]
=> Result ["rgba(10, 10, 10, 0.5) rgba(10, 10, 10 1)", "test", "10"]
text in one or more parentheses => error
2./(\S*([^\)])|(\S+(\s,\s*))|\S+)+/g
PASS "1px solid rgba(10, 10, 10, 1)"
=> ["1px", "solid", "rgba(10, 10, 10, 1)"]
PASS "rgba(10, 10, 10, 0.5) rgba(10, 10, 10, 1) test 10"
=> ["rgba(10, 10, 10, 0.5)", "rgba(10, 10, 10,1)", "test", "10"]
FAIL "gradient(rgba(10, 10, 10, 0.5) rgba(10, 10, 10, 1) test 10)"
=> Expected ["gradient(rgba(10, 10, 10, 0.5) rgba(10, 10, 10, 1) test 10)"]
=> Result ["gradient(rgba(10, 10, 10, 0.5)", "rgba(10, 10, 10, 1) test 10)"]
parentheses in parentheses => error
PASS 3. /(\S*(((([^\)])|[^\)\(])))|(\S+(\s,\s*))|\S+)+/g
The text was updated successfully, but these errors were encountered: