Skip to content

Commit 076ab8a

Browse files
authored
Syntax error: $RGEX_SEARCH > $REGEX_SEARCH
1 parent 2b8a336 commit 076ab8a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

code2pg

+3-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ my %LANGUAGE_COMMENTS_END = (
6666
);
6767

6868
my %REGEX_SEARCH; # how we identify keywords
69-
$RGEX_SEARCH{'plain'}{'before'} = ''; # directly as in sql files
69+
$REGEX_SEARCH{'plain'}{'before'} = ''; # directly as in sql files
7070
$REGEX_SEARCH{'plain'}{'after'} = '';
7171
$REGEX_SEARCH{'tags'}{'before'} = '>(?s:.*?)'; # inside <tag> SQL STRING <tag>
7272
$REGEX_SEARCH{'tags'}{'after'} = '(?s:.*?)<';
@@ -3473,7 +3473,8 @@ sub main {
34733473

34743474
# Sed is adding ^M on the files I tried. We remove them.
34753475
if ( $modified_file == 1 ) {
3476-
my $sed_res = `sed -i 's///g' "$file"`;
3476+
my $sed_res = `sed -i 's/
3477+
//g' "$file"`;
34773478
}
34783479
}
34793480
print "\rDone ! \n" if (!$quiet_exec);

0 commit comments

Comments
 (0)