πŸ“’ Too many exams? Don’t know which one suits you best? Book Your Free Expert πŸ‘‰ call Now!

  • google app store apple app store
  • βœ–

      Question

      What does [aeiou] match in a regular

      expression?Β 
      A Any character that is NOT a vowel. Correct Answer Incorrect Answer
      B Any single vowel (a, e, i, o, u). Correct Answer Incorrect Answer
      C The exact string "aeiou". Correct Answer Incorrect Answer
      D Any character from 'a' to 'u'. Correct Answer Incorrect Answer

      Solution

      Square brackets [] define a character set, matching any single character contained within the brackets. Therefore, [aeiou] matches any single character that is 'a', 'e', 'i', 'o', or 'u'.

      Practice Next
      ask-question