Comment by pygy_

8 hours ago

This is by design, the regexp syntax has been invented for write-only programming at the CLI, and graduated to ubiguitous programming language syntax because worse is better.

The regular formalism is all about composability, and most languages don't offer a way to compose regexps, which is a real shame IMO.