in reply to more efficient regular expression please
Rather than immediately jumping into churning out code, we should perhaps ask why one should also look at "any pieces of its name"?
Is it perhaps because this string might be split over two lines?
If that is the case, than I can imagine that simpler solutions are available.
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
|
|---|