Phone

+919997782184

Email

support@roboticswithpython.com

Geeks of Coding

Join us on Telegram

Viewing 0 reply threads
  • Author
    Posts
    • #1229
      Abhishek TyagiAbhishek Tyagi
      Keymaster

      Question 1- hen using regular expressions, which of the following expressions uses a reserved character that can represent any single character?

      Answer-

      re.findall(f.n, text)
      The dot (.) represents any single character.

      Question 2- Which of the following is NOT a function of the Python regex module?

      Answer-
      re.grep()

      Question 3- The circumflex [^] and the dollar sign [$] are anchor characters. What do these anchor characters do in regex?

      Answer-
      Match the start and end of a line

      Question 4- When using regex, some characters represent particular types of characters. Some examples are the dollar sign, the circumflex, and the dot wildcard. What are these characters collectively known as?

      Answer-
      Special Characters

      Question 5- What is grep?

      Answer-

      A command-line regex tool

Viewing 0 reply threads
  • You must be logged in to reply to this topic.