Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Searching for regular expression overlaps

by LanX (Saint)
on Aug 12, 2016 at 16:27 UTC ( [id://1169659]=note: print w/replies, xml ) Need Help??


in reply to Searching for regular expression overlaps

Perl's regexp are a language on their own, if you REALLY˛ allow the full spectrum of features this is not imaginable for me.°

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1169659]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-03-28 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found