Add searching package / view / procedure name in file
Add searching package / view / procedure name in file

Intended to be used for building appropriate "SHOW ERRORS ..." sqlplus command
for the script being executed.

This version should match following name variants:
- SCHEMA.MY_PACKAGE_NAME
- "SCHEMA"."MY_PACKAGE_NAME"
- SCHEMA."MY_PACKAGE_NAME"
- "SCHEMA".MY_PACKAGE_NAME
- MY_PACKAGE_NAME
- "MY_PACKAGE_NAME"

and the same for procedures, views etc.

Case insensitive. General search pattern is CREATE...NAME..AS or CREATE...NAME...IS.

4O4/miracle