4 ms·
This is fun. Now I’m wondering what it looks like as a regular expression. Here’s my first attempt. (Probably wrong, since I did it by hand.) (enter,leave,|
by robinhouston 5y ago
This is fun. Now I’m wondering what it looks like as a regular expression.
Here’s my first attempt. (Probably wrong, since I did it by hand.)
(enter,leave,|press,(enter,leave,)*release,|press,enter,release,leave,|enter,press,leave,(enter,leave,)*release,)*(enter|press,enter,(leave,enter,)*release),press,(leave,enter,)*,release
I’d never really thought about how many different sequences of events can lead to a button activating.