Regular Expressions in PHP are case-sensitive.

  • TRUE
  • FALSE
The statement is true. Regular Expressions in PHP are case-sensitive by default. This means that when defining patterns or searching for matches, the case of the characters matters. For example, if a pattern specifies "abc", it will only match "abc" in the string and not "ABC" or "Abc". If case-insensitive matching is required, the appropriate modifier can be added to the Regular Expression pattern. Learn more: https://www.php.net/manual/en/reference.pcre.pattern.modifiers.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *