REGEXP_SUBSTR 给我解释一下谢谢
REGEXP_SUBSTR(srcstr, pattern, position, occurrence, modifier)
__srcstr :检索字符串
__pattern :匹配模式
__position :搜索srcstr的起始位置(默认为1)
__occurrence:搜索第几次出现匹配模式的字符串(默认为1)
__modifier :检索模式('i'不区分大小写进行检索;'c'区分大小写进行检索。默认为'c'。)
select regexp_substr(' http://blog.chinaunix.net/u/30637/showart_1009927.html', '[a-z_0-9]+', 35) from dual;
----
showart_1009927 --35?????
select regexp_substr(' http://blog.chinaunix.net/u/30637/Showart_1009927.html', '[a-z_0-9]+', 35, 1, 'c')
from dual;
------------------------------
howart_1009927 --35?????
select regexp_substr(' http://blog.chinaunix.net/u/30637/Showart_1009927.html', '[a-z_0-9]+', 35, 2, 'c') from dual;
------------------------------
html----为什么是HTML ,为什么要写35
这里的 35 是指什么意思呢,难道是从第35次开始检索码