0

I have been updating an old (from 1999) Python script to Python 3. Occasionally I have found regex.casefold. It is typically used in something like:

some_var = regex.compile(pattern, regex.casefold)

How would I go about changing this so it works in the latest Python 3?

Patrick Artner
  • 50,409
  • 9
  • 43
  • 69

0 Answers0