Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: regex step counting (Halting problem)

by LanX (Saint)
on Dec 03, 2019 at 14:51 UTC ( [id://11109598]=note: print w/replies, xml ) Need Help??


in reply to Re^2: regex step counting (Halting problem)
in thread regex step counting

I never said that he has to solve the halting problem.

His approach is to test against a set of input strings.°

I wouldn't be surprised if a finit input set can't cover all cases for arbitrary regexes.

This also highly depends on the allowed RegEx grammar, like embedded Perl code (at the extreme).

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

°) "a few hundred sample lines"

  • Comment on Re^3: regex step counting (Halting problem)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-19 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found