1. the ability to easily break patterns into named subpatterns which can be referenced later on
2. the `@` operator which gives you the ability to talk about things inside these subpatterns
These seem like worthwhile additions which would make regex more manageable. I don't see any reason why the whole of regex would need to be abandoned for some completely new, potentially proprietary technology, though.
It also reminds me of parser combinators (in the form they are popular in Haskell, for instance).
1. the ability to easily break patterns into named subpatterns which can be referenced later on
2. the `@` operator which gives you the ability to talk about things inside these subpatterns
These seem like worthwhile additions which would make regex more manageable. I don't see any reason why the whole of regex would need to be abandoned for some completely new, potentially proprietary technology, though.
It also reminds me of parser combinators (in the form they are popular in Haskell, for instance).