Answer the following statements true (T) or false (F)

1) Metacharacter ? matches exactly one occurrence of the expression it follows.
2) Method group returns an SRE_Match object.
3) Method re.match does not search through a string, but returns a match object only if the string matches the specified regular expression starting from the beginning.
4) The class [^0–9] matches any digit but 0.
5) Preceding a string with the character r creates a raw string.


1) F
2) F
3) T
4) F
5) T

Computer Science & Information Technology

You might also like to view...

What practice under the BSIMM involves the detection and correction of security flaws, providing sanity checks and internal/external tests?

A. Deployment - Penetration testing B. SSDL Touchpoints - Security testing C. Deployment - Software environment D. Deployment - Security checks

Computer Science & Information Technology

A memory-resident array contains information that may not have been saved to a hard disk or other storage

Indicate whether the statement is true or false

Computer Science & Information Technology

The simple rule for powering down equipment is that you pull the plug on everything but ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Critical Thinking QuestionsCase 1Ellie wants to use Office 2013 for her catering business. For example, she plans to use Word to maintain her collection of recipes, and Excel to manage her budget. To get started, Ellie turns to you for help in understanding the components that appear in the Microsoft Word window. Ellie asks you about the component located at the bottom of the document window. You tell her that it is used to present information about the document, the progress of current tasks, and controls for viewing the document. What is the name of this component? a.scroll barc.ribbonb.status bard.mini toolbar

What will be an ideal response?

Computer Science & Information Technology