Re:The Anti-Pattern Game
by akoboldfrying on Wednesday August 13, 2025 @07:22AM
(#44887095)
I think it's pretty clear that a string s of pebbles is a pattern iff there exist strings x and y such that s = x|y|y|y, where | denotes string concatenation and y is nonempty.
EDIT: Clarify that only y is nonempty.