Back to marketplace

Parsing With Regular Expressions

No description yet. This curated deck is ready for daily study.

Total cards: 2•Content version: v3•Public deck•Updated: 8/1/2026

Card preview (2)

#1
Front (Question)

What method takes a string of a text as an argument and looks for a single match to the regular expression that starts at the beginning of the string?

Back (Answer)

.match()

#2
Front (Question)

What method takes a regular expression pattern as an argument and compiles the pattern into a regular expression object, but you can later used to find matching text?

Back (Answer)

.compile()