File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,11 @@ create or replace package body ut_suite_builder is
1616 limitations under the License.
1717 */
1818
19+ /**
20+ * Regexp to validate tag
21+ */
22+ gc_word_no_space constant varchar2(50) := '^(\w|\S)+$';
23+
1924 subtype t_annotation_text is varchar2(4000);
2025 subtype t_annotation_name is varchar2(4000);
2126 subtype t_object_name is varchar2(500);
@@ -329,7 +334,7 @@ create or replace package body ut_suite_builder is
329334 );
330335 end if;
331336 --remove empty strings from table list e.g. tag1,,tag2 and conver to rows
332- a_list := ut_utils.convert_collection( ut_utils.filter_list(l_tag_list,'^(\w|\S)+$' ) );
337+ a_list := ut_utils.convert_collection( ut_utils.filter_list(l_tag_list,gc_word_no_space ) );
333338 l_annotation_pos := a_tags_ann_text.next(l_annotation_pos);
334339 end loop;
335340
@@ -641,7 +646,7 @@ create or replace package body ut_suite_builder is
641646 l_annotation_pos := a_tags_ann_text.next(l_annotation_pos);
642647 end loop;
643648 --remove empty strings from table list e.g. tag1,,tag2
644- a_suite.tags := ut_utils.convert_collection(ut_utils.filter_list(l_tag_list,'^(\w|\S)+$' ));
649+ a_suite.tags := ut_utils.convert_collection(ut_utils.filter_list(l_tag_list,gc_word_no_space ));
645650 end;
646651
647652 procedure add_suite_tests(
You can’t perform that action at this time.
0 commit comments