Re:Rulex – A new, portable, regular expression language
by nsajko on Friday June 10, 2022 @03:56PM
(#31698722)
Your proposed implementation makes sense for the case of merely taking the complement of a simple regular expression. But the point of having the complement operator available is to be able to take complements of arbitrary sub-expressions within the RE, and even having nested complements in the RE. In that case your proposed implementation would be relatively inefficient.
[ Parent
| on HN ]
There are no comments on this comment yet.