match either [ - -zor [ - - passing re or re ignorecase as the second argument to re compile(will make the matching case insensitive the character normally matches any character except the newline character if re dotall is passed as the second argument to re compile()then the dot will also match newline characters the sub(call will return the string ' drummersx pipersfive ringsx hens the re verbose argument allows you to add whitespace and comments to the string passed to re compile( re compile( '^\ { , }(,\ { })*$'will create this regexbut other regex strings can produce similar regular expression re compile( '[ - ][ - ]*\swatanabe' re compile( '(alice|bob|carol)\ (eats|pets|throws)\ (apples|cats |baseballs)'re ignorecase no pyinputplus is third-party module and doesn' come with the python standard library this optionally makes your code shorter to typeyou can type pyip inputstr(instead of pyinputplus inputstr(the inputint(function returns an int valuewhile the inputfloat(function returns float value this is the difference between returning and call pyip inputint(min= max= list of regex strings that are either explicitly allowed or denied the function will raise retrylimitexception the function returns the value 'hello relative paths are relative to the current working directory absolute paths start with the root foldersuch as or :on windowsit evaluates to windowspath(' :/users/al'on other operating systemsit evaluates to different kind of path object but with the same path the expression ' :/users'alresults in an errorsince you can' use the operator to join two strings the os getcwd(function returns the current working directory the os chdir(function changes the current working directory answers to the practice questions