Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce1375c

Browse files
author
Pavel Kaplya
committed
fix for there might be newline character before AS|IS in a package declaration
1 parent 99e5aaa commit ce1375c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/ut_metadata.pkb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ create or replace package body ut_metadata as
345345
$end
346346

347347
l_package_comments := regexp_substr(srcstr => l_pkg_spec
348-
,pattern => '^\s*(CREATE\s+(OR\s+REPLACE)?(\s+(NON)?EDITIONABLE)?\s+)?PACKAGE .*?(AS|IS)\s+((.*?{COMMENT#\d+}\s?)+)'
348+
,pattern => '^\s*(CREATE\s+(OR\s+REPLACE)?(\s+(NON)?EDITIONABLE)?\s+)?PACKAGE .*?\s+(AS|IS)\s+((.*?{COMMENT#\d+}\s?)+)'
349349
,modifier => 'i'
350350
,subexpression => 6);
351351

0 commit comments

Comments
 (0)