adding in curly brackets ({ }after pattern is like saying"match this pattern three times so the slightly shorter regex \ { }-\ { }-\ { also matches the correct phone number format symbol and it' meaningquantifiers various types of regular expressions the "repackage provides several methods to actually perform queries on an input string we will see the methods of re in pythonnotebased on the regular expressionspython offers two different primitive operations the match method checks for match only at the beginning of the string while search checks for match anywhere in the string