-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #175 from orafce/backport_regexp
Backport regexp
- Loading branch information
Showing
9 changed files
with
1,350 additions
and
456 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
*.opensdf | ||
*.suo | ||
*.*.user | ||
*.bc | ||
/.deps/ | ||
/orafce.sql | ||
/orafce.sql.in | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
-- REGEXP_INSTR( string text, pattern text ) -> integer | ||
CREATE OR REPLACE FUNCTION oracle.regexp_instr(text, text) | ||
RETURNS integer | ||
AS 'MODULE_PATHNAME','orafce_regexp_instr_no_start' | ||
LANGUAGE 'c' IMMUTABLE; | ||
|
||
-- REGEXP_INSTR( string text, pattern text, position int ) -> integer | ||
CREATE OR REPLACE FUNCTION oracle.regexp_instr(text, text, integer) | ||
RETURNS integer | ||
AS 'MODULE_PATHNAME','orafce_regexp_instr_no_n' | ||
LANGUAGE 'c' IMMUTABLE; | ||
|
||
-- REGEXP_INSTR( string text, pattern text, position int, occurence int ) -> integer | ||
CREATE OR REPLACE FUNCTION oracle.regexp_instr(text, text, integer, integer) | ||
RETURNS integer | ||
AS 'MODULE_PATHNAME','orafce_regexp_instr_no_endoption' | ||
LANGUAGE 'c' IMMUTABLE; | ||
|
||
-- REGEXP_INSTR( string text, pattern text, position int, occurence int, return_opt int ) -> integer | ||
CREATE OR REPLACE FUNCTION oracle.regexp_instr(text, text, integer, integer, integer) | ||
RETURNS integer | ||
AS 'MODULE_PATHNAME','orafce_regexp_instr_no_flags' | ||
LANGUAGE 'c' IMMUTABLE; | ||
|
||
-- REGEXP_INSTR( string text, pattern text, position int, occurence int, return_opt int, flags text ) -> integer | ||
CREATE OR REPLACE FUNCTION oracle.regexp_instr(text, text, integer, integer, integer, text) | ||
RETURNS integer | ||
AS 'MODULE_PATHNAME','orafce_regexp_instr_no_subexpr' | ||
LANGUAGE 'c' IMMUTABLE; | ||
|
||
-- REGEXP_INSTR( string text, pattern text, position int, occurence int, return_opt int, flags text, group int ) -> integer | ||
CREATE OR REPLACE FUNCTION oracle.regexp_instr(text, text, integer, integer, integer, text, integer) | ||
RETURNS integer | ||
AS 'MODULE_PATHNAME','orafce_regexp_instr' | ||
LANGUAGE 'c' IMMUTABLE; | ||
|
||
-- REGEXP_REPLACE( string text, pattern text, replace_string text ) -> text | ||
CREATE OR REPLACE FUNCTION oracle.regexp_replace(text, text, text) | ||
RETURNS text | ||
AS 'MODULE_PATHNAME','orafce_textregexreplace_noopt' | ||
LANGUAGE 'c' IMMUTABLE; | ||
|
||
-- REGEXP_REPLACE( string text, pattern text, replace_string text, position int ) -> text | ||
CREATE OR REPLACE FUNCTION oracle.regexp_replace(text, text, text, integer) | ||
RETURNS text | ||
AS 'MODULE_PATHNAME','orafce_textregexreplace_extended_no_n' | ||
LANGUAGE 'c' IMMUTABLE; | ||
|
||
-- REGEXP_REPLACE( string text, pattern text, replace_string text, position int, occurence int ) -> text | ||
CREATE OR REPLACE FUNCTION oracle.regexp_replace(text, text, text, integer, integer) | ||
RETURNS text | ||
AS 'MODULE_PATHNAME','orafce_textregexreplace_extended_no_flags' | ||
LANGUAGE 'c' IMMUTABLE; | ||
|
||
-- REGEXP_REPLACE( string text, pattern text, replace_string text, position int, occurence int, flags text ) -> text | ||
CREATE OR REPLACE FUNCTION oracle.regexp_replace(text, text, text, integer, integer, text) | ||
RETURNS text | ||
AS 'MODULE_PATHNAME','orafce_textregexreplace_extended' | ||
LANGUAGE 'c' IMMUTABLE; | ||
|
||
CREATE OR REPLACE FUNCTION oracle.regexp_replace(text, text, text, text) | ||
RETURNS text | ||
AS 'MODULE_PATHNAME','orafce_textregexreplace' | ||
LANGUAGE 'c' IMMUTABLE; |
Oops, something went wrong.