"""Demo 2: count words with punctuation, case, digits, and Unicode."""

import re

text = """ERROR: disk full on gpu-0
error: Disk full on gpu-1
Warning: café wifi down, retrying..."""
fold = True

# TODO: Find every run of Unicode letters or digits.
# TODO: Lowercase each word only when fold is True.
# TODO: Count each word and print the dictionary.
