I'm wondering if there is, for example, a way to write a regular expression that matches all of ("a.b", "b.c", "c.d") in the string "a.b.c.d".
I can only think of patterns like "\w\.\w" that match "a.b" and "c.d", but not where the two overlap.