Question

    Which of the following creates a pattern object?

    A re.create(str) Correct Answer Incorrect Answer
    B re.regex(str) Correct Answer Incorrect Answer
    C re.compile(str) Correct Answer Incorrect Answer
    D re.assemble(str) Correct Answer Incorrect Answer
    E All of the above Correct Answer Incorrect Answer

    Solution

    The correct answer is C

    Practice Next