#937: CCTK_RegexMatch does not return a distinguishable error condition when the regular expression is invalid ---------------------+------------------------------------------------------ Reporter: rhaas | Owner: Type: defect | Status: review Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: ---------------------+------------------------------------------------------
Comment (by rhaas):
I updated the patch to output a ALERT level warning in the routines calling RegexMatch. It's actualy rather hard to actually trigger it though right now. The only callers of RegexMatc hare the routines that validate parameter ranges. Since the perl configuration scripts already check regular expressions for correctness one has to construct a valid perl regex that fails in C (the perl extended regex {{{(?|.*)}}} does the trick).