Skip to content

Commit cd38aa4

Browse files
author
adrianbartyczak
committed
Escape left brace in search-placeholder-url-parser.pl for Perl update
1 parent 2525a16 commit cd38aa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

url_management/url_parsing_and_opening/openurl/search-placeholder-url-parser.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ sub escapeUrlSection {
153153
my $urlEndPos = 0;
154154
my $fnlUrl;
155155

156-
while ($url =~ /(.*?)({search([^\\]*)(?:\\([^}]*))})/g) {
156+
while ($url =~ /(.*?)(\{search([^\\]*)(?:\\([^}]*))})/g) {
157157
my ($txtBefr, $plh, $opts, $spcDelim) = ($1, $2, $3, $4);
158158
my $optSrchQryPos;
159159
my @optOnlyWrdsPos;

0 commit comments

Comments
 (0)