1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-08-13 17:38:59 +00:00
Files
build
conf
docs
libs
apr
apr-iconv-1.1.1
apr-util
codec
curl
iax
iksemel
js
libdingaling
libetpan
libresample
libsndfile
libspeakup
libteletone
pcre
doc
html
index.html
pcre.html
pcre_compile.html
pcre_compile2.html
pcre_config.html
pcre_copy_named_substring.html
pcre_copy_substring.html
pcre_dfa_exec.html
pcre_exec.html
pcre_free_substring.html
pcre_free_substring_list.html
pcre_fullinfo.html
pcre_get_named_substring.html
pcre_get_stringnumber.html
pcre_get_stringtable_entries.html
pcre_get_substring.html
pcre_get_substring_list.html
pcre_info.html
pcre_maketables.html
pcre_refcount.html
pcre_study.html
pcre_version.html
pcreapi.html
pcrebuild.html
pcrecallout.html
pcrecompat.html
pcrecpp.html
pcregrep.html
pcrematching.html
pcrepartial.html
pcrepattern.html
pcreperform.html
pcreposix.html
pcreprecompile.html
pcresample.html
pcrestack.html
pcretest.html
Tech.Notes
pcre.3
pcre.txt
pcre_compile.3
pcre_compile2.3
pcre_config.3
pcre_copy_named_substring.3
pcre_copy_substring.3
pcre_dfa_exec.3
pcre_exec.3
pcre_free_substring.3
pcre_free_substring_list.3
pcre_fullinfo.3
pcre_get_named_substring.3
pcre_get_stringnumber.3
pcre_get_stringtable_entries.3
pcre_get_substring.3
pcre_get_substring_list.3
pcre_info.3
pcre_maketables.3
pcre_refcount.3
pcre_study.3
pcre_version.3
pcreapi.3
pcrebuild.3
pcrecallout.3
pcrecompat.3
pcrecpp.3
pcregrep.1
pcregrep.txt
pcrematching.3
pcrepartial.3
pcrepattern.3
pcreperform.3
pcreposix.3
pcreprecompile.3
pcresample.3
pcrestack.3
pcretest.1
pcretest.txt
perltest.txt
testdata
.update
AUTHORS
COPYING
ChangeLog
INSTALL
LICENCE
Makefile.in
NEWS
NON-UNIX-USE
README
RunGrepTest.in
RunTest.in
config.h.in
configure.ac
configure.gnu
dftables.c
install-sh
libpcre.def
libpcre.pc.in
libpcreposix.def
makevp.bat
mkinstalldirs
pcre-config.in
pcre.def
pcre.h
pcre_compile.c
pcre_config.c
pcre_dfa_exec.c
pcre_exec.c
pcre_fullinfo.c
pcre_get.c
pcre_globals.c
pcre_info.c
pcre_internal.h
pcre_maketables.c
pcre_ord2utf8.c
pcre_printint.src
pcre_refcount.c
pcre_scanner.cc
pcre_scanner.h
pcre_scanner_unittest.cc
pcre_stringpiece.cc
pcre_stringpiece.h.in
pcre_stringpiece_unittest.cc
pcre_study.c
pcre_tables.c
pcre_try_flipped.c
pcre_ucp_searchfuncs.c
pcre_valid_utf8.c
pcre_version.c
pcre_xclass.c
pcrecpp.cc
pcrecpp.h
pcrecpp_unittest.cc
pcrecpparg.h.in
pcredemo.c
pcregrep.c
pcreposix.c
pcreposix.h
pcretest.c
perltest
ucp.h
ucpinternal.h
ucptable.c
portaudio
sofia-sip
speex
sqlite
srtp
udns
win32
xmlrpc-c
scripts
src
support
w32
Freeswitch.sln
INSTALL
Makefile.am
acinclude.m4
bootstrap.sh
configure.in
freeswitch/libs/pcre/doc/html/pcre_get_substring.html

53 lines
1.7 KiB
HTML
Raw Normal View History

<html>
<head>
<title>pcre_get_substring specification</title>
</head>
<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
<h1>pcre_get_substring man page</h1>
<p>
Return to the <a href="index.html">PCRE index page</a>.
</p>
<p>
This page is part of the PCRE HTML documentation. It was generated automatically
from the original man page. If there is any nonsense in it, please consult the
man page, in case the conversion went wrong.
<br>
<br><b>
SYNOPSIS
</b><br>
<P>
<b>#include &#60;pcre.h&#62;</b>
</P>
<P>
<b>int pcre_get_substring(const char *<i>subject</i>, int *<i>ovector</i>,</b>
<b>int <i>stringcount</i>, int <i>stringnumber</i>,</b>
<b>const char **<i>stringptr</i>);</b>
</P>
<br><b>
DESCRIPTION
</b><br>
<P>
This is a convenience function for extracting a captured substring. The
arguments are:
<pre>
<i>subject</i> Subject that has been successfully matched
<i>ovector</i> Offset vector that <b>pcre_exec()</b> used
<i>stringcount</i> Value returned by <b>pcre_exec()</b>
<i>stringnumber</i> Number of the required substring
<i>stringptr</i> Where to put the string pointer
</pre>
The memory in which the substring is placed is obtained by calling
<b>pcre_malloc()</b>. The yield of the function is the length of the substring,
PCRE_ERROR_NOMEMORY if sufficient memory could not be obtained, or
PCRE_ERROR_NOSUBSTRING if the string number is invalid.
</P>
<P>
There is a complete description of the PCRE native API in the
<a href="pcreapi.html"><b>pcreapi</b></a>
page and a description of the POSIX API in the
<a href="pcreposix.html"><b>pcreposix</b></a>
page.
<p>
Return to the <a href="index.html">PCRE index page</a>.
</p>