object Main extends App { val pattern = """(?i)(?<=\.(?