POV-Ray : Newsgroups : povray.off-topic : An even more interesting problem : An even more interesting problem Server Time
28 Jul 2024 18:18:09 EDT (-0400)
  An even more interesting problem  
From: Orchid Win7 v1
Date: 24 May 2013 14:20:10
Message: <519faf5a$1@news.povray.org>
Suppose I give you two arbitrary regular expressions. Are they equivalent?

Does there exist an algorithm to determine whether two regexes are 
equivalent? What complexity class does this algorithm live in? What does 
"equivalent" even mean in this context? What about if one expression 
matches a subset of the other? Or a superset? Or in general two 
partially-overlapping sets?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.