Implement fullmatch(pattern, text) returning True if the whole text matches a pattern built from:
. (any single character)\ followed by any character (that character literally, so \. matches a dot)* (zero or more), + (one or more) and ? (zero or one)Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.
Start 7-day free trial