亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? patterns.sgml

?? GLib是GTK+和GNOME工程的基礎底層核心程序庫
?? SGML
字號:
<refentry id="glib-Glob-style-pattern-matching"><refmeta><refentrytitle>Glob-style pattern matching</refentrytitle><manvolnum>3</manvolnum><refmiscinfo>GLIB Library</refmiscinfo></refmeta><refnamediv><refname>Glob-style pattern matching</refname><refpurpose>matches strings against patterns containing '*' (wildcard) and '?' (joker).</refpurpose></refnamediv><refsynopsisdiv><title>Synopsis</title><synopsis>#include &lt;glib.h&gt;struct      <link linkend="GPatternSpec">GPatternSpec</link>;<link linkend="GPatternSpec">GPatternSpec</link>* <link linkend="g-pattern-spec-new">g_pattern_spec_new</link>            (const <link linkend="gchar">gchar</link> *pattern);void        <link linkend="g-pattern-spec-free">g_pattern_spec_free</link>             (<link linkend="GPatternSpec">GPatternSpec</link> *pspec);<link linkend="gboolean">gboolean</link>    <link linkend="g-pattern-spec-equal">g_pattern_spec_equal</link>            (<link linkend="GPatternSpec">GPatternSpec</link> *pspec1,                                             <link linkend="GPatternSpec">GPatternSpec</link> *pspec2);<link linkend="gboolean">gboolean</link>    <link linkend="g-pattern-match">g_pattern_match</link>                 (<link linkend="GPatternSpec">GPatternSpec</link> *pspec,                                             <link linkend="guint">guint</link> string_length,                                             const <link linkend="gchar">gchar</link> *string,                                             const <link linkend="gchar">gchar</link> *string_reversed);<link linkend="gboolean">gboolean</link>    <link linkend="g-pattern-match-string">g_pattern_match_string</link>          (<link linkend="GPatternSpec">GPatternSpec</link> *pspec,                                             const <link linkend="gchar">gchar</link> *string);<link linkend="gboolean">gboolean</link>    <link linkend="g-pattern-match-simple">g_pattern_match_simple</link>          (const <link linkend="gchar">gchar</link> *pattern,                                             const <link linkend="gchar">gchar</link> *string);</synopsis></refsynopsisdiv><refsect1><title>Description</title><para>The <function>g_pattern_match*</function> functions match a string against a pattern containing '*' and '?' wildcards with similar semantics as the standard <function><link linkend="glob">glob</link>()</function> function: '*' matches anarbitrary, possibly empty, string, '?' matches an arbitrary character.</para><para>Note that in contrast to <function><link linkend="glob">glob</link>()</function>, the '/' character<emphasis>can</emphasis> be matched by the wildcards, there are no'[...]' character ranges and '*' and '?' can <emphasis>not</emphasis>be escaped to include them literally in a pattern. </para><para>When multiple strings must be matched against the same pattern, itis better to compile the pattern to a <link linkend="GPatternSpec">GPatternSpec</link> using <link linkend="g-pattern-spec-new">g_pattern_spec_new</link>() and use <link linkend="g-pattern-match-string">g_pattern_match_string</link>() instead of <link linkend="g-pattern-match-simple">g_pattern_match_simple</link>().  This avoids the overhead of repeated pattern compilation.</para></refsect1><refsect1><title>Details</title><refsect2><title><anchor id="GPatternSpec">struct GPatternSpec</title><programlisting>struct GPatternSpec;</programlisting><para>A <structname>GPatternSpec</structname> is the 'compiled' form of a pattern.This structure is opaque and its fields cannot be accessed directly.</para></refsect2><refsect2><title><anchor id="g-pattern-spec-new">g_pattern_spec_new ()</title><programlisting><link linkend="GPatternSpec">GPatternSpec</link>* g_pattern_spec_new            (const <link linkend="gchar">gchar</link> *pattern);</programlisting><para>Compiles a pattern to a <link linkend="GPatternSpec">GPatternSpec</link>.</para><informaltable pgwide="1" frame="none" role="params"><tgroup cols="2"><colspec colwidth="2*"><colspec colwidth="8*"><tbody><row><entry align="right"><parameter>pattern</parameter>&nbsp;:</entry><entry>a zero-terminated UTF-8 encoded string.</entry></row><row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>a newly-allocated <link linkend="GPatternSpec">GPatternSpec</link>.</entry></row></tbody></tgroup></informaltable></refsect2><refsect2><title><anchor id="g-pattern-spec-free">g_pattern_spec_free ()</title><programlisting>void        g_pattern_spec_free             (<link linkend="GPatternSpec">GPatternSpec</link> *pspec);</programlisting><para>Frees the memory allocated for the <link linkend="GPatternSpec">GPatternSpec</link>.</para><informaltable pgwide="1" frame="none" role="params"><tgroup cols="2"><colspec colwidth="2*"><colspec colwidth="8*"><tbody><row><entry align="right"><parameter>pspec</parameter>&nbsp;:</entry><entry>a <link linkend="GPatternSpec">GPatternSpec</link>.</entry></row></tbody></tgroup></informaltable></refsect2><refsect2><title><anchor id="g-pattern-spec-equal">g_pattern_spec_equal ()</title><programlisting><link linkend="gboolean">gboolean</link>    g_pattern_spec_equal            (<link linkend="GPatternSpec">GPatternSpec</link> *pspec1,                                             <link linkend="GPatternSpec">GPatternSpec</link> *pspec2);</programlisting><para>Compares two compiled pattern specs and returns whether theywill match the same set of strings.</para><informaltable pgwide="1" frame="none" role="params"><tgroup cols="2"><colspec colwidth="2*"><colspec colwidth="8*"><tbody><row><entry align="right"><parameter>pspec1</parameter>&nbsp;:</entry><entry>a <link linkend="GPatternSpec">GPatternSpec</link>.</entry></row><row><entry align="right"><parameter>pspec2</parameter>&nbsp;:</entry><entry>another <link linkend="GPatternSpec">GPatternSpec</link>.</entry></row><row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>Whether the compiled patterns are equal.</entry></row></tbody></tgroup></informaltable></refsect2><refsect2><title><anchor id="g-pattern-match">g_pattern_match ()</title><programlisting><link linkend="gboolean">gboolean</link>    g_pattern_match                 (<link linkend="GPatternSpec">GPatternSpec</link> *pspec,                                             <link linkend="guint">guint</link> string_length,                                             const <link linkend="gchar">gchar</link> *string,                                             const <link linkend="gchar">gchar</link> *string_reversed);</programlisting><para>Matches a string against a compiled pattern. Passing the correct length of thestring given is mandatory. The reversed string can be omitted by passing <literal>NULL</literal>,this is more efficient if the reversed version of the string to be matched isnot at hand, as <link linkend="g-pattern-match">g_pattern_match</link>() will only construct it if the compiled patternrequires reverse matches.</para><para>Note that, if the user code will (possibly) match a string against a multitude of patterns containing wildcards, chances are high that some patterns will require a reversed string. In this case, it's more efficient to provide the reversed string to avoid multiple constructions thereof in the various calls to<link linkend="g-pattern-match">g_pattern_match</link>().</para><para>Note also that the reverse of a UTF-8 encoded string can in general <emphasis>not</emphasis> be obtained by <function><link linkend="g-strreverse">g_strreverse</link>()</function>.This works only if the string doesn't contain any multibyte characters.Glib doesn't currently offer a function to reverse UTF-8 encoded strings.</para><informaltable pgwide="1" frame="none" role="params"><tgroup cols="2"><colspec colwidth="2*"><colspec colwidth="8*"><tbody><row><entry align="right"><parameter>pspec</parameter>&nbsp;:</entry><entry>a <link linkend="GPatternSpec">GPatternSpec</link>.</entry></row><row><entry align="right"><parameter>string_length</parameter>&nbsp;:</entry><entry>the length of <parameter>string</parameter>.</entry></row><row><entry align="right"><parameter>string</parameter>&nbsp;:</entry><entry>the UTF-8 encoded string to match.</entry></row><row><entry align="right"><parameter>string_reversed</parameter>&nbsp;:</entry><entry>the reverse of <parameter>string</parameter> or <literal>NULL</literal>.</entry></row><row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry><literal>TRUE</literal> if <parameter>string</parameter> matches <parameter>pspec</parameter>.</entry></row></tbody></tgroup></informaltable></refsect2><refsect2><title><anchor id="g-pattern-match-string">g_pattern_match_string ()</title><programlisting><link linkend="gboolean">gboolean</link>    g_pattern_match_string          (<link linkend="GPatternSpec">GPatternSpec</link> *pspec,                                             const <link linkend="gchar">gchar</link> *string);</programlisting><para>Matches a string against a compiled pattern. If the string is tobe matched against more than one pattern, consider using<link linkend="g-pattern-match">g_pattern_match</link>() instead while supplying the reversed string.</para><informaltable pgwide="1" frame="none" role="params"><tgroup cols="2"><colspec colwidth="2*"><colspec colwidth="8*"><tbody><row><entry align="right"><parameter>pspec</parameter>&nbsp;:</entry><entry>a <link linkend="GPatternSpec">GPatternSpec</link>.</entry></row><row><entry align="right"><parameter>string</parameter>&nbsp;:</entry><entry>the UTF-8 encoded string to match.</entry></row><row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry><literal>TRUE</literal> if <parameter>string</parameter> matches <parameter>pspec</parameter>.</entry></row></tbody></tgroup></informaltable></refsect2><refsect2><title><anchor id="g-pattern-match-simple">g_pattern_match_simple ()</title><programlisting><link linkend="gboolean">gboolean</link>    g_pattern_match_simple          (const <link linkend="gchar">gchar</link> *pattern,                                             const <link linkend="gchar">gchar</link> *string);</programlisting><para>Matches a string against a pattern given as a string.If this function is to be called in a loop, it's more efficient to compilethe pattern once with <link linkend="g-pattern-spec-new">g_pattern_spec_new</link>() and call <link linkend="g-pattern-match-string">g_pattern_match_string</link>()repetively.</para><informaltable pgwide="1" frame="none" role="params"><tgroup cols="2"><colspec colwidth="2*"><colspec colwidth="8*"><tbody><row><entry align="right"><parameter>pattern</parameter>&nbsp;:</entry><entry>the UTF-8 encoded pattern.</entry></row><row><entry align="right"><parameter>string</parameter>&nbsp;:</entry><entry>the UTF-8 encoded string to match.</entry></row><row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry><literal>TRUE</literal> if <parameter>string</parameter> matches <parameter>pspec</parameter>.</entry></row></tbody></tgroup></informaltable></refsect2></refsect1></refentry>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区在线免费| 91在线码无精品| 国产欧美精品区一区二区三区 | 日本免费新一区视频| 久久久久久久久久久电影| 丝袜亚洲另类欧美综合| 91麻豆精品国产91久久久资源速度| 亚洲综合丝袜美腿| wwww国产精品欧美| 成人激情开心网| 亚洲国产高清在线观看视频| 懂色av中文字幕一区二区三区| 国产精品麻豆网站| 91精品国产福利在线观看| 国产一区二区导航在线播放| 婷婷国产v国产偷v亚洲高清| 日韩欧美中文字幕制服| 国产成人99久久亚洲综合精品| 亚洲精品免费电影| 国产嫩草影院久久久久| 91精品国产欧美一区二区18| 国产成人亚洲综合a∨婷婷图片| 一区二区三区中文字幕精品精品| 宅男噜噜噜66一区二区66| 国产一区不卡视频| 一区二区三区四区蜜桃| 国产免费久久精品| 久久综合精品国产一区二区三区| 99久久精品国产网站| 男男成人高潮片免费网站| 一区av在线播放| 国产精品久久久久婷婷二区次| 日韩欧美国产一区二区三区| 91小宝寻花一区二区三区| 国产一区二区视频在线| 色狠狠综合天天综合综合| 国产老女人精品毛片久久| 五月婷婷激情综合网| 中文字幕一区二区三区色视频| 2014亚洲片线观看视频免费| 国产一区二区91| 99视频在线观看一区三区| 欧美色图免费看| 欧美手机在线视频| 欧美mv日韩mv国产| 国产精品久久久久久久久免费桃花 | 91麻豆精品国产91久久久 | 日韩经典一区二区| 伊人婷婷欧美激情| 亚洲国产成人av| 青青草原综合久久大伊人精品| 日韩成人午夜电影| 久久精品国产精品青草| 国产电影精品久久禁18| 成人午夜又粗又硬又大| www.成人网.com| 日韩欧美美女一区二区三区| 欧美精品一区二区三区很污很色的 | 自拍视频在线观看一区二区| 国产精品久久午夜夜伦鲁鲁| 日韩美女啊v在线免费观看| 日韩综合小视频| 粉嫩一区二区三区在线看| 在线观看亚洲a| 欧美日韩国产美| 久久久噜噜噜久久人人看| 一区二区三区四区在线免费观看 | 在线观看一区不卡| 欧美日本在线播放| 国产欧美一区二区在线| 日韩激情在线观看| 91视频国产资源| 久久久久久久电影| 五月婷婷久久综合| 精品视频在线免费| 亚洲欧美视频在线观看视频| 奇米色一区二区| 在线观看免费一区| 久久先锋影音av鲁色资源| 蜜臀久久久久久久| 日韩三级.com| 国内精品久久久久影院薰衣草| 国产色综合久久| 正在播放亚洲一区| 日本aⅴ亚洲精品中文乱码| 91麻豆精品国产91久久久久| 日韩美女视频在线| 欧美国产激情一区二区三区蜜月| 精品理论电影在线观看| 国产精品白丝jk白祙喷水网站 | 亚洲欧美日韩综合aⅴ视频| 欧美日韩精品欧美日韩精品 | 久久久www免费人成精品| 免费人成在线不卡| 久久久影视传媒| 成人av手机在线观看| 国产精品久久久久三级| 99精品视频在线免费观看| 国产精品久久久久影院色老大| 成人高清免费观看| 一区二区三区在线观看欧美 | 亚洲一二三区在线观看| 91精品国产丝袜白色高跟鞋| 午夜精品久久久久久久| 欧美va天堂va视频va在线| 国产一区91精品张津瑜| 国产精品网友自拍| 欧美日韩三级在线| 国产91丝袜在线播放0| 亚洲一区二区五区| www久久精品| 欧美日韩精品系列| 成人国产精品免费观看视频| 亚洲色图丝袜美腿| 久久亚洲精品国产精品紫薇| 91国偷自产一区二区三区观看 | 一区二区三区成人在线视频| 精品国产三级电影在线观看| 一本久久a久久精品亚洲| 激情av综合网| 亚洲成人久久影院| 国产精品色哟哟| 91精品国产综合久久精品图片 | 欧美二区三区的天堂| 国产伦精品一区二区三区免费| 樱桃视频在线观看一区| 久久这里只有精品视频网| 欧美日本视频在线| 欧美亚洲图片小说| 色先锋资源久久综合| 东方欧美亚洲色图在线| 久久se这里有精品| 三级欧美韩日大片在线看| 亚洲欧洲性图库| 亚洲男同1069视频| 亚洲三级在线看| 亚洲精品久久久蜜桃| 国产精品灌醉下药二区| 国产农村妇女毛片精品久久麻豆 | 日韩一区二区三区三四区视频在线观看| 99国产麻豆精品| 91老师国产黑色丝袜在线| 欧美在线视频不卡| 精品1区2区3区| 欧美一区二区三区四区久久| 欧美成人精品3d动漫h| 久久久www免费人成精品| 亚洲精品国产第一综合99久久| 一区二区三区四区视频精品免费| 首页亚洲欧美制服丝腿| 国产成人av影院| 欧美日韩成人在线一区| 国产欧美日韩在线视频| 婷婷六月综合亚洲| av不卡在线播放| 国产亚洲综合色| 久久99久久99小草精品免视看| proumb性欧美在线观看| 精品国产一区二区三区久久影院| 亚洲人成电影网站色mp4| 国产激情视频一区二区在线观看| 蜜臀精品久久久久久蜜臀 | 一区二区三区自拍| 九九九精品视频| 91九色最新地址| 欧美大片在线观看一区| 亚洲色图色小说| 国产在线不卡一区| 欧美日韩中文一区| 国产精品色在线| 精久久久久久久久久久| 欧美午夜精品理论片a级按摩| 久久日韩精品一区二区五区| 一区二区三区中文在线观看| 久久99久久精品| 欧美精品视频www在线观看 | 欧美影院一区二区三区| 久久久av毛片精品| 日韩综合小视频| 色老综合老女人久久久| 中文字幕一区二区不卡| 极品瑜伽女神91| 日韩欧美国产综合一区 | 色播五月激情综合网| 中文字幕欧美区| 国产一区二区在线观看免费| 欧美美女直播网站| 一区二区三区四区精品在线视频 | 精品国产乱码久久久久久久| 无码av中文一区二区三区桃花岛| 不卡在线观看av| 亚洲日本青草视频在线怡红院 | 亚洲成a天堂v人片| 在线欧美日韩精品| 亚洲免费伊人电影| 欧美在线不卡视频| 午夜精品久久久久久久久久 | 精品成人私密视频| 国产99精品国产| 国产精品久久精品日日|