Coursera课程Python for everyone:Quiz: Regular Expressions

Quiz: Regular Expressions

10 试题

A way to solve Algebra formulas for the unknown value

A way to calculate mathematical values paying attention to operator precedence

The way Python handles and recovers from errors that would otherwise cause a traceback

A small programming language unto itself

^

str.startswith()

\linestart

String.startsWith()

variable[0:1]

Match anything but a lowercase letter or digit

Match an entire line as long as it is lowercase letters or digits

Match any text that is surrounded by square braces

Match a lowercase letter or a digit

Match any number of lowercase letters followed by any number of digits

A boolean

A single character

A list of strings

An integer

A string

$

+

.

*

?

^

The "+" matches at least one character and the "*" matches zero or more characters

The "+" matches upper case characters and the "*" matches lowercase characters

The "+" matches the beginning of a line and the "*" matches the end of a line

The "+" matches the actual plus character and the "*" matches any character

The "+" indicates "start of extraction" and the "*" indicates the "end of extraction"

Several digits followed by a plus sign

Any number of digits at the beginning of a line

One or more digits

Zero or more digits

Any mathematical expression

:

From:

^F.+:

['From: Using the :']

['From:']

^

?

**

\g

$

++

d@u

\@\

From

marquard@uct

你可能感兴趣的:(Python)