I'm curious. What came to your mind for "composition"?
> probably had functional programming in mind
Then you should have no trouble recognizing that there is no analog to `f . g . h` for regexes.
> probably had functional programming in mind
Then you should have no trouble recognizing that there is no analog to `f . g . h` for regexes.