Skip to content

Conversation

@mkaboud
Copy link

@mkaboud mkaboud commented Jun 12, 2015

Updating regular expressions to avoid exponential processing time for some cases. If DB object definition contains line of dashes "-------------", the program does not finish processing and time increase exponentially. This happens at DataScrubber.Scrub method, at Regex.Replace(). Modifying the regular expressions from "(--.)" to "(--)." solves the issue.

Updating regular expressions to avoid exponential processing time for some cases. If DB object definition contains line of dashes "-------------", the program does not finish processing and time increase exponentially. This happens at DataScrubber.Scrub method, at Regex.Replace(). Modifying the regular expressions from "(--.*)" to "(--).*" solves the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant