ParameterExists => isDefined

by marcus on 06/02/2010



Another quick regex: to perform a sitewide search/replace that replaces every “parameterExists” by “isDefined”, simply do a:

Search: parameterExists\(([^)]*)\)
Replace: isDefined(“\1”)

That saved me at least 2 hours 🙂

Comments on this entry are closed.

Previous post:

Next post: