Google

def ElementDecl.pull source source.match( PATTERN_RE, true )[1] end