By default, regular expressions are case-sensitive. However, you can use flags to modify this behavior.