I have this regular expression to check if a DLL have a prodcedure
var expReg = "(((ALTER|CREATE|OR|REPLACE| )*)+)?PROCEDURE.*";
return (Regex.IsMatch(textProcedure, expReg, RegexOptions.IgnoreCase)
I use it with SQL Server or Oracle DLL.
Sometimes works, and sometime have a infinite loop.
What is the problem? Any help is greatly appreciated.