This library provides a fast implementation of a regular expression based router. Blog post explaining how the implementation works and why it is fast. The $handler ...
In some situations it's not possible to chain multiple calls of replace() because you don't want to pass the result of the first operation to the second: ...