I have the following regex: /\.([s]?[ac]ss)$/
. The problem is, it matches .scss
, .sass
, .css
, .ass
. How would I make it not match .ass
?
Also this will match .scss
, .sass
and .css
only, it is very readable and self-explanatory
/\.(sc|sa|c)ss$/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With