in reply to Searching for regular expression overlaps
I'm sure there are some computer science theorems proving this. (probably Halting problem?)
The only way I could see is with a restricted rules language, which is translated to regexp later.
Most likely a XY Problem ...
... monitoring if newly added rules also match already matched filenames and raising an alarm should be good enough.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
°) as a side note, you can also embed Perl-code in regexes
˛) from arbitrary sources ... that's crazy
|
|---|