--- loncom/interface/lonsearchcat.pm 2001/03/22 14:10:12 1.71 +++ loncom/interface/lonsearchcat.pm 2001/03/22 14:13:53 1.72 @@ -793,8 +793,9 @@ sub build_custommetadata_query { $q->prepare($logic_statement); my $matchexp=${$q}{'-parse'}{'-build'}{'matchstring'}; # quick fix to change literal into xml tag-matching - $matchexp=~s/\(\?\:([^\)]*)\\\=([^\)]*)\)/\(\?\:\\\<$1\\\>\[\^\\\<\]\*$2\[\^\\\<\]\*\\\<\\\/$1\\\>)/g; - return $matchexp; + my $oldmatchexp=$matchexp; +# $matchexp=~s/\(\?\:([^\)]*)\\\=([^\)]*)\)/\(\?\:\\\<$1\\\>\[\^\\\<\]\*$2\[\^\\\<\]\*\\\<\\\/$1\\\>)/g; + return $oldmatchexp; } # - Recursively parse a reverse notation expression into a SQL query expression