m[^ ( [^|]+ ) \| ]x and $current{ $1 } = $_ while ; ... if( m[^ ( [^|]+ ) \| ]x and exists $current{ $1 } ) {