Google

def CData.pull( source ) source.match( PATTERN, true )[1] end