atk 0.90.4-x86-mingw32 → 0.90.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/atk/extconf.rb +8 -0
- data/lib/1.8/atk.so +0 -0
- data/lib/1.9/atk.so +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +35 -9
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/libatk-1.0-0.dll +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/include/atk-1.0/atk/atk-enum-types.h +2 -2
- data/vendor/local/include/atk-1.0/atk/atktext.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +18 -18
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gcredentials.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +42 -25
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +58 -0
- data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +46 -0
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +562 -0
- data/vendor/local/include/glib-2.0/gio/gdbuserror.h +100 -0
- data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +286 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +149 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +73 -0
- data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +112 -0
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +94 -0
- data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +167 -0
- data/vendor/local/include/glib-2.0/gio/gdbusserver.h +54 -0
- data/vendor/local/include/glib-2.0/gio/gdbusutils.h +44 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +30 -9
- data/vendor/local/include/glib-2.0/gio/gioenums.h +526 -8
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +42 -0
- data/vendor/local/include/glib-2.0/gio/gioerror.h +4 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +36 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +2 -0
- data/vendor/local/include/glib-2.0/gio/gpermission.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gproxy.h +123 -0
- data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +75 -0
- data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +96 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +258 -0
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +138 -0
- data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +45 -0
- data/vendor/local/include/glib-2.0/gio/gsocket.h +18 -0
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +22 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +7 -1
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +3 -0
- data/vendor/local/include/glib-2.0/glib-object.h +1 -0
- data/vendor/local/include/glib-2.0/glib.h +2 -0
- data/vendor/local/include/glib-2.0/glib/galloca.h +47 -0
- data/vendor/local/include/glib-2.0/glib/gatomic.h +25 -5
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +7 -7
- data/vendor/local/include/glib-2.0/glib/gbase64.h +22 -22
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +27 -3
- data/vendor/local/include/glib-2.0/glib/gcache.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +20 -20
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +4 -0
- data/vendor/local/include/glib-2.0/glib/gconvert.h +26 -2
- data/vendor/local/include/glib-2.0/glib/gdatetime.h +217 -0
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +16 -0
- data/vendor/local/include/glib-2.0/glib/gmacros.h +7 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +305 -78
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gmem.h +107 -1
- data/vendor/local/include/glib-2.0/glib/gnode.h +4 -2
- data/vendor/local/include/glib-2.0/glib/gpoll.h +27 -3
- data/vendor/local/include/glib-2.0/glib/gregex.h +228 -0
- data/vendor/local/include/glib-2.0/glib/grel.h +4 -0
- data/vendor/local/include/glib-2.0/glib/gstdio.h +27 -39
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +3 -1
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +19 -14
- data/vendor/local/include/glib-2.0/glib/gthread.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +44 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +18 -1
- data/vendor/local/include/glib-2.0/glib/gutils.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gvariant.h +25 -1
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +29 -0
- data/vendor/local/include/glib-2.0/gobject/gbinding.h +136 -0
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +18 -6
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +37 -20
- data/vendor/local/include/glib-2.0/gobject/gobject.h +5 -0
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +48 -21
- data/vendor/local/include/glib-2.0/gobject/gparam.h +9 -4
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +54 -0
- data/vendor/local/include/glib-2.0/gobject/gtype.h +129 -1
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +6 -1
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +17 -0
- data/vendor/local/lib/atk-1.0.def +1 -0
- data/vendor/local/lib/atk-1.0.lib +0 -0
- data/vendor/local/lib/gio-2.0.def +345 -2
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +71 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +2 -2
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +21 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/intl.lib +0 -0
- data/vendor/local/lib/libatk-1.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/atk.pc +2 -2
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +3 -2
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +11 -0
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +2 -2
- data/vendor/local/manifest/{atk-dev_1.30.0-2_win32.mft → atk-dev_1.32.0-1_win32.mft} +3 -3
- data/vendor/local/manifest/{atk_1.30.0-2_win32.mft → atk_1.32.0-1_win32.mft} +3 -1
- data/vendor/local/manifest/{glib-dev_2.24.2-2_win32.mft → glib-dev_2.26.0-2_win32.mft} +87 -8
- data/vendor/local/manifest/{glib_2.24.2-2_win32.mft → glib_2.26.0-2_win32.mft} +3 -2
- data/vendor/local/share/aclocal/glib-gettext.m4 +2 -2
- data/vendor/local/share/doc/{glib-2.24.2 → glib-2.26.0}/COPYING +0 -0
- data/vendor/local/share/doc/{glib-dev-2.24.2 → glib-dev-2.26.0}/COPYING +0 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +1 -4
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +3 -1
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +60 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +179 -166
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +276 -74
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +35 -35
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +114 -119
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +43 -47
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +67 -67
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +41 -41
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +70 -35
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +398 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +254 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +6211 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +1833 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +618 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +2050 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +1124 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +373 -151
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +103 -107
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +158 -158
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +935 -923
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +18 -13
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +71 -75
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +303 -275
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +32 -32
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +30 -30
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +31 -25
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +31 -25
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +58 -58
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +109 -109
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +26 -25
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +72 -72
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +120 -120
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +90 -59
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +155 -155
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +76 -76
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +119 -39
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +100 -37
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +137 -131
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +560 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +312 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +348 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +301 -0
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +116 -116
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +54 -54
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +2424 -0
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +609 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +362 -148
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +107 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +612 -326
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +470 -108
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +131 -46
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +48 -259
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +27 -26
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +123 -119
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +165 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +298 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +222 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +65 -57
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +59 -51
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +39 -39
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +246 -61
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +113 -113
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +67 -71
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +90 -18
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +56 -14
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +65 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +8 -12
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +21 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +1598 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +18 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2412 -661
- data/vendor/local/share/gtk-doc/html/gio/async.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +50 -14
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +14 -9
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +122 -22
- data/vendor/local/share/gtk-doc/html/gio/{ch19.html → ch24.html} +8 -8
- data/vendor/local/share/gtk-doc/html/gio/{ch20.html → ch25.html} +19 -19
- data/vendor/local/share/gtk-doc/html/gio/{ch20s02.html → ch25s02.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch20s03.html → ch25s03.html} +12 -12
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s02.html +59 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s03.html +159 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s04.html +46 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s05.html +48 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s06.html +277 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s07.html +95 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +70 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +130 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +202 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s04.html +96 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s05.html +823 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s06.html +828 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +33 -20
- data/vendor/local/share/gtk-doc/html/gio/extending.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +59 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +243 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +316 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +1117 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +216 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +35 -35
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +58 -50
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +98 -88
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +908 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +37 -31
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +97 -16
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +50 -50
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +736 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +113 -122
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +666 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +26 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +53 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +569 -68
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +692 -70
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +102 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +11 -5
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/index.html +137 -20
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +814 -96
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +32 -12
- data/vendor/local/share/gtk-doc/html/gio/networking.html +19 -7
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +112 -15
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +8 -5
- data/vendor/local/share/gtk-doc/html/gio/settings.html +38 -0
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/style.css +8 -0
- data/vendor/local/share/gtk-doc/html/gio/tools.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/types.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/utils.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +77 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +3 -7
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +5 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +359 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +10 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +8 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +82 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +393 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +52 -52
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +51 -51
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +75 -74
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +59 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +37 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +87 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +39 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +69 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +130 -223
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +114 -108
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +25 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +87 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +61 -61
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +96 -96
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +30 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +33 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +98 -56
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +2201 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +239 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +736 -256
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +140 -91
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +59 -59
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +65 -65
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +91 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +72 -72
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +257 -73
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +27 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +50 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +37 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +70 -66
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +44 -44
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +108 -63
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +151 -91
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +132 -103
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +83 -81
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +34 -44
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +442 -345
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +40 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +72 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +46 -46
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +35 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +130 -129
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +30 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +245 -232
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +104 -103
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +171 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +422 -323
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +135 -135
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +18 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +13 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +103 -17
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +189 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +119 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +32 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +53 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +7 -7
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +94 -272
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +43 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +10 -4
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +131 -32
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +174 -59
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +190 -73
- data/vendor/local/share/gtk-doc/html/glib/index.html +13 -5
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +133 -4
- data/vendor/local/share/gtk-doc/html/glib/style.css +8 -0
- data/vendor/local/share/gtk-doc/html/glib/tools.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +803 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +21 -21
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +19 -19
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +6 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +201 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +148 -4
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +14 -14
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +28 -22
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +29 -17
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +45 -34
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +130 -73
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +43 -43
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +83 -73
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +35 -35
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +71 -71
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +558 -245
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +358 -92
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +391 -158
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +47 -44
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +42 -12
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +48 -9
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +53 -9
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/index.html +15 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +53 -1
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +7 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/style.css +8 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -3
- data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +9 -4
- data/vendor/local/share/man/man1/glib-mkenums.1 +17 -5
- data/vendor/local/share/man/man1/gobject-query.1 +4 -4
- data/vendor/local/src/tml/packaging/atk_1.32.0-1_win32.log +730 -0
- data/vendor/local/src/tml/packaging/{atk_1.30.0-2_win32.sh → atk_1.32.0-1_win32.sh} +8 -6
- data/vendor/local/src/tml/packaging/{glib_2.24.2-2_win32.log → glib_2.26.0-2_win32.log} +1102 -837
- data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.sh +64 -0
- metadata +906 -826
- data/ext/atk/Makefile +0 -160
- data/ext/atk/rbatkversion.h +0 -24
- data/vendor/local/src/tml/packaging/atk_1.30.0-2_win32.log +0 -739
- data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.sh +0 -290
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="glib-fundamentals.html" title="GLib Fundamentals">
|
9
9
|
<link rel="prev" href="glib-Byte-Order-Macros.html" title="Byte Order Macros">
|
10
10
|
<link rel="next" href="glib-Miscellaneous-Macros.html" title="Miscellaneous Macros">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#glib-Numerical-Definitions.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="glib-Numerical-Definitions"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,7 +35,7 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
39
39
|
<a name="glib-Numerical-Definitions.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
@@ -56,7 +56,7 @@ union <a class="link" href="glib-Numerical-Definitions.html#GDoubl
|
|
56
56
|
#define <a class="link" href="glib-Numerical-Definitions.html#G-LOG-2-BASE-10:CAPS" title="G_LOG_2_BASE_10">G_LOG_2_BASE_10</a>
|
57
57
|
</pre>
|
58
58
|
</div>
|
59
|
-
<div class="refsect1"
|
59
|
+
<div class="refsect1">
|
60
60
|
<a name="glib-Numerical-Definitions.description"></a><h2>Description</h2>
|
61
61
|
<p>
|
62
62
|
GLib offers mathematical constants such as <a class="link" href="glib-Numerical-Definitions.html#G-PI:CAPS" title="G_PI"><span class="type">G_PI</span></a> for the value of pi;
|
@@ -65,59 +65,56 @@ versions always exist.
|
|
65
65
|
</p>
|
66
66
|
<p>
|
67
67
|
The <a class="link" href="glib-Numerical-Definitions.html#GFloatIEEE754" title="union GFloatIEEE754"><span class="type">GFloatIEEE754</span></a> and <a class="link" href="glib-Numerical-Definitions.html#GDoubleIEEE754" title="union GDoubleIEEE754"><span class="type">GDoubleIEEE754</span></a> unions are used to access the
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
68
|
+
sign, mantissa and exponent of IEEE floats and doubles. These unions are
|
69
|
+
defined as appropriate for a given platform. IEEE floats and doubles are
|
70
|
+
supported (used for storage) by at least Intel, PPC and Sparc. See
|
71
|
+
<a class="ulink" href="http://en.wikipedia.org/wiki/IEEE_float" target="_top">IEEE 754-2008</a>
|
72
|
+
for more information about IEEE number formats.
|
72
73
|
</p>
|
73
74
|
</div>
|
74
|
-
<div class="refsect1"
|
75
|
+
<div class="refsect1">
|
75
76
|
<a name="glib-Numerical-Definitions.details"></a><h2>Details</h2>
|
76
|
-
<div class="refsect2"
|
77
|
+
<div class="refsect2">
|
77
78
|
<a name="G-IEEE754-FLOAT-BIAS:CAPS"></a><h3>G_IEEE754_FLOAT_BIAS</h3>
|
78
79
|
<pre class="programlisting">#define G_IEEE754_FLOAT_BIAS (127)
|
79
80
|
</pre>
|
80
81
|
<p>
|
81
|
-
|
82
|
+
The bias by which exponents in single-precision floats are offset.
|
82
83
|
</p>
|
83
84
|
</div>
|
84
85
|
<hr>
|
85
|
-
<div class="refsect2"
|
86
|
+
<div class="refsect2">
|
86
87
|
<a name="G-IEEE754-DOUBLE-BIAS:CAPS"></a><h3>G_IEEE754_DOUBLE_BIAS</h3>
|
87
88
|
<pre class="programlisting">#define G_IEEE754_DOUBLE_BIAS (1023)
|
88
89
|
</pre>
|
89
90
|
<p>
|
90
|
-
|
91
|
+
The bias by which exponents in double-precision floats are offset.
|
91
92
|
</p>
|
92
93
|
</div>
|
93
94
|
<hr>
|
94
|
-
<div class="refsect2"
|
95
|
+
<div class="refsect2">
|
95
96
|
<a name="GFloatIEEE754"></a><h3>union GFloatIEEE754</h3>
|
96
97
|
<pre class="programlisting"></pre>
|
97
98
|
<p>
|
98
|
-
The <a class="link" href="glib-Numerical-Definitions.html#GFloatIEEE754" title="union GFloatIEEE754"><span class="type">GFloatIEEE754</span></a> and <a class="link" href="glib-Numerical-Definitions.html#GDoubleIEEE754" title="union GDoubleIEEE754"><span class="type">GDoubleIEEE754</span></a> unions are used to access the
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
storage) by at least Intel, PPC and Sparc, for reference:
|
103
|
-
<a class="ulink" href="http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html" target="_top">http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html</a>
|
99
|
+
The <a class="link" href="glib-Numerical-Definitions.html#GFloatIEEE754" title="union GFloatIEEE754"><span class="type">GFloatIEEE754</span></a> and <a class="link" href="glib-Numerical-Definitions.html#GDoubleIEEE754" title="union GDoubleIEEE754"><span class="type">GDoubleIEEE754</span></a> unions are used to access the sign,
|
100
|
+
mantissa and exponent of IEEE floats and doubles. These unions are defined
|
101
|
+
as appropriate for a given platform. IEEE floats and doubles are supported
|
102
|
+
(used for storage) by at least Intel, PPC and Sparc.
|
104
103
|
</p>
|
105
104
|
</div>
|
106
105
|
<hr>
|
107
|
-
<div class="refsect2"
|
106
|
+
<div class="refsect2">
|
108
107
|
<a name="GDoubleIEEE754"></a><h3>union GDoubleIEEE754</h3>
|
109
108
|
<pre class="programlisting"></pre>
|
110
109
|
<p>
|
111
|
-
The <a class="link" href="glib-Numerical-Definitions.html#GFloatIEEE754" title="union GFloatIEEE754"><span class="type">GFloatIEEE754</span></a> and <a class="link" href="glib-Numerical-Definitions.html#GDoubleIEEE754" title="union GDoubleIEEE754"><span class="type">GDoubleIEEE754</span></a> unions are used to access the
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
storage) by at least Intel, PPC and Sparc, for reference:
|
116
|
-
<a class="ulink" href="http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html" target="_top">http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html</a>
|
110
|
+
The <a class="link" href="glib-Numerical-Definitions.html#GFloatIEEE754" title="union GFloatIEEE754"><span class="type">GFloatIEEE754</span></a> and <a class="link" href="glib-Numerical-Definitions.html#GDoubleIEEE754" title="union GDoubleIEEE754"><span class="type">GDoubleIEEE754</span></a> unions are used to access the sign,
|
111
|
+
mantissa and exponent of IEEE floats and doubles. These unions are defined
|
112
|
+
as appropriate for a given platform. IEEE floats and doubles are supported
|
113
|
+
(used for storage) by at least Intel, PPC and Sparc.
|
117
114
|
</p>
|
118
115
|
</div>
|
119
116
|
<hr>
|
120
|
-
<div class="refsect2"
|
117
|
+
<div class="refsect2">
|
121
118
|
<a name="G-E:CAPS"></a><h3>G_E</h3>
|
122
119
|
<pre class="programlisting">#define G_E 2.7182818284590452353602874713526624977572470937000
|
123
120
|
</pre>
|
@@ -126,7 +123,7 @@ The base of natural logarithms.
|
|
126
123
|
</p>
|
127
124
|
</div>
|
128
125
|
<hr>
|
129
|
-
<div class="refsect2"
|
126
|
+
<div class="refsect2">
|
130
127
|
<a name="G-LN2:CAPS"></a><h3>G_LN2</h3>
|
131
128
|
<pre class="programlisting">#define G_LN2 0.69314718055994530941723212145817656807550013436026
|
132
129
|
</pre>
|
@@ -135,7 +132,7 @@ The natural logarithm of 2.
|
|
135
132
|
</p>
|
136
133
|
</div>
|
137
134
|
<hr>
|
138
|
-
<div class="refsect2"
|
135
|
+
<div class="refsect2">
|
139
136
|
<a name="G-LN10:CAPS"></a><h3>G_LN10</h3>
|
140
137
|
<pre class="programlisting">#define G_LN10 2.3025850929940456840179914546843642076011014886288
|
141
138
|
</pre>
|
@@ -144,7 +141,7 @@ The natural logarithm of 10.
|
|
144
141
|
</p>
|
145
142
|
</div>
|
146
143
|
<hr>
|
147
|
-
<div class="refsect2"
|
144
|
+
<div class="refsect2">
|
148
145
|
<a name="G-PI:CAPS"></a><h3>G_PI</h3>
|
149
146
|
<pre class="programlisting">#define G_PI 3.1415926535897932384626433832795028841971693993751
|
150
147
|
</pre>
|
@@ -153,7 +150,7 @@ The value of pi (ratio of circle's circumference to its diameter).
|
|
153
150
|
</p>
|
154
151
|
</div>
|
155
152
|
<hr>
|
156
|
-
<div class="refsect2"
|
153
|
+
<div class="refsect2">
|
157
154
|
<a name="G-PI-2:CAPS"></a><h3>G_PI_2</h3>
|
158
155
|
<pre class="programlisting">#define G_PI_2 1.5707963267948966192313216916397514420985846996876
|
159
156
|
</pre>
|
@@ -162,7 +159,7 @@ Pi divided by 2.
|
|
162
159
|
</p>
|
163
160
|
</div>
|
164
161
|
<hr>
|
165
|
-
<div class="refsect2"
|
162
|
+
<div class="refsect2">
|
166
163
|
<a name="G-PI-4:CAPS"></a><h3>G_PI_4</h3>
|
167
164
|
<pre class="programlisting">#define G_PI_4 0.78539816339744830961566084581987572104929234984378
|
168
165
|
</pre>
|
@@ -171,7 +168,7 @@ Pi divided by 4.
|
|
171
168
|
</p>
|
172
169
|
</div>
|
173
170
|
<hr>
|
174
|
-
<div class="refsect2"
|
171
|
+
<div class="refsect2">
|
175
172
|
<a name="G-SQRT2:CAPS"></a><h3>G_SQRT2</h3>
|
176
173
|
<pre class="programlisting">#define G_SQRT2 1.4142135623730950488016887242096980785696718753769
|
177
174
|
</pre>
|
@@ -180,25 +177,18 @@ The square root of two.
|
|
180
177
|
</p>
|
181
178
|
</div>
|
182
179
|
<hr>
|
183
|
-
<div class="refsect2"
|
180
|
+
<div class="refsect2">
|
184
181
|
<a name="G-LOG-2-BASE-10:CAPS"></a><h3>G_LOG_2_BASE_10</h3>
|
185
182
|
<pre class="programlisting">#define G_LOG_2_BASE_10 (0.30102999566398119521)
|
186
183
|
</pre>
|
187
184
|
<p>
|
188
|
-
|
189
|
-
<a class="ulink" href="http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html" target="_top">http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html</a>
|
185
|
+
Multiplying the base 2 exponent by this number yields the base 10 exponent.
|
190
186
|
</p>
|
191
187
|
</div>
|
192
188
|
</div>
|
193
|
-
<div class="refsect1" title="See Also">
|
194
|
-
<a name="glib-Numerical-Definitions.see-also"></a><h2>See Also</h2>
|
195
|
-
<p>
|
196
|
-
<a class="ulink" href="http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html" target="_top">http://cch.loria.fr/documentation/IEEE754/numerical_comp_guide/ncg_math.doc.html</a>
|
197
|
-
</p>
|
198
|
-
</div>
|
199
189
|
</div>
|
200
190
|
<div class="footer">
|
201
191
|
<hr>
|
202
|
-
Generated by GTK-Doc V1.
|
192
|
+
Generated by GTK-Doc V1.15.1</div>
|
203
193
|
</body>
|
204
194
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="glib-utilities.html" title="GLib Utilities">
|
9
9
|
<link rel="prev" href="glib-Glob-style-pattern-matching.html" title="Glob-style pattern matching">
|
10
10
|
<link rel="next" href="glib-Simple-XML-Subset-Parser.html" title="Simple XML Subset Parser">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#glib-Perl-compatible-regular-expressions.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="glib-Perl-compatible-regular-expressions"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,7 +35,7 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
39
39
|
<a name="glib-Perl-compatible-regular-expressions.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
@@ -59,6 +59,8 @@ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span cla
|
|
59
59
|
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-get-capture-count" title="g_regex_get_capture_count ()">g_regex_get_capture_count</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);
|
60
60
|
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-get-string-number" title="g_regex_get_string_number ()">g_regex_get_string_number</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
61
61
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>);
|
62
|
+
<a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexCompileFlags" title="enum GRegexCompileFlags"><span class="returnvalue">GRegexCompileFlags</span></a> <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-get-compile-flags" title="g_regex_get_compile_flags ()">g_regex_get_compile_flags</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);
|
63
|
+
<a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="returnvalue">GRegexMatchFlags</span></a> <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-get-match-flags" title="g_regex_get_match_flags ()">g_regex_get_match_flags</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);
|
62
64
|
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-escape-string" title="g_regex_escape_string ()">g_regex_escape_string</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
63
65
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> length</code></em>);
|
64
66
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-match-simple" title="g_regex_match_simple ()">g_regex_match_simple</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *pattern</code></em>,
|
@@ -153,7 +155,7 @@ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span cla
|
|
153
155
|
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-fetch-all" title="g_match_info_fetch_all ()">g_match_info_fetch_all</a> (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);
|
154
156
|
</pre>
|
155
157
|
</div>
|
156
|
-
<div class="refsect1"
|
158
|
+
<div class="refsect1">
|
157
159
|
<a name="glib-Perl-compatible-regular-expressions.description"></a><h2>Description</h2>
|
158
160
|
<p>
|
159
161
|
The <code class="function">g_regex_*()</code> functions implement regular
|
@@ -161,65 +163,64 @@ expression pattern matching using syntax and semantics similar to
|
|
161
163
|
Perl regular expression.
|
162
164
|
</p>
|
163
165
|
<p>
|
164
|
-
Some functions accept a <em class="parameter"><code>start_position</code></em> argument,
|
165
|
-
|
166
|
-
|
167
|
-
of lookbehind assertion.
|
166
|
+
Some functions accept a <em class="parameter"><code>start_position</code></em> argument, setting it differs
|
167
|
+
from just passing over a shortened string and setting <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NOTBOL:CAPS"><span class="type">G_REGEX_MATCH_NOTBOL</span></a>
|
168
|
+
in the case of a pattern that begins with any kind of lookbehind assertion.
|
168
169
|
For example, consider the pattern "\Biss\B" which finds occurrences of "iss"
|
169
170
|
in the middle of words. ("\B" matches only if the current position in the
|
170
171
|
subject is not a word boundary.) When applied to the string "Mississipi"
|
171
172
|
from the fourth byte, namely "issipi", it does not match, because "\B" is
|
172
173
|
always false at the start of the subject, which is deemed to be a word
|
173
174
|
boundary. However, if the entire string is passed , but with
|
174
|
-
<em class="parameter"><code>start_position</code></em> set to 4, it finds the second
|
175
|
-
|
176
|
-
|
175
|
+
<em class="parameter"><code>start_position</code></em> set to 4, it finds the second occurrence of "iss" because
|
176
|
+
it is able to look behind the starting point to discover that it is
|
177
|
+
preceded by a letter.
|
177
178
|
</p>
|
178
179
|
<p>
|
179
180
|
Note that, unless you set the <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-RAW:CAPS"><span class="type">G_REGEX_RAW</span></a> flag, all the strings passed
|
180
181
|
to these functions must be encoded in UTF-8. The lengths and the positions
|
181
182
|
inside the strings are in bytes and not in characters, so, for instance,
|
182
|
-
"\xc3\xa0" (i.e. "à") is two bytes long but it is treated as a
|
183
|
-
character. If you set <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-RAW:CAPS"><span class="type">G_REGEX_RAW</span></a> the strings can be non-valid
|
184
|
-
strings and a byte is treated as a character, so "\xc3\xa0" is two
|
185
|
-
and two characters long.
|
183
|
+
"\xc3\xa0" (i.e. "à") is two bytes long but it is treated as a
|
184
|
+
single character. If you set <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-RAW:CAPS"><span class="type">G_REGEX_RAW</span></a> the strings can be non-valid
|
185
|
+
UTF-8 strings and a byte is treated as a character, so "\xc3\xa0" is two
|
186
|
+
bytes and two characters long.
|
186
187
|
</p>
|
187
188
|
<p>
|
188
|
-
When matching a pattern, "\n" matches only against a "\n" character in
|
189
|
-
string, and "\r" matches only a "\r" character. To match any newline
|
190
|
-
use "\R". This particular group matches either the two-character
|
191
|
-
CR + LF ("\r\n"), or one of the single characters LF (linefeed,
|
192
|
-
|
193
|
-
U+000D, "\r"), NEL (next line, U+0085), LS (line
|
194
|
-
(paragraph separator, U+2029).
|
189
|
+
When matching a pattern, "\n" matches only against a "\n" character in
|
190
|
+
the string, and "\r" matches only a "\r" character. To match any newline
|
191
|
+
sequence use "\R". This particular group matches either the two-character
|
192
|
+
sequence CR + LF ("\r\n"), or one of the single characters LF (linefeed,
|
193
|
+
U+000A, "\n"), VT vertical tab, U+000B, "\v"), FF (formfeed, U+000C, "\f"),
|
194
|
+
CR (carriage return, U+000D, "\r"), NEL (next line, U+0085), LS (line
|
195
|
+
separator, U+2028), or PS (paragraph separator, U+2029).
|
195
196
|
</p>
|
196
197
|
<p>
|
197
|
-
The behaviour of the dot, circumflex, and dollar metacharacters are
|
198
|
-
newline characters, the default is to recognize any newline
|
199
|
-
characters recognized by "\R"). This can be changed
|
200
|
-
<a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-NEWLINE-LF:CAPS"><span class="type">G_REGEX_NEWLINE_LF</span></a> and <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-NEWLINE-CRLF:CAPS"><span class="type">G_REGEX_NEWLINE_CRLF</span></a>
|
201
|
-
and with <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NEWLINE-ANY:CAPS"><span class="type">G_REGEX_MATCH_NEWLINE_ANY</span></a>,
|
202
|
-
<a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NEWLINE-
|
203
|
-
|
204
|
-
<a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-EXTENDED:CAPS"><span class="type">G_REGEX_EXTENDED</span></a> is set, and an
|
205
|
-
|
206
|
-
newline.
|
198
|
+
The behaviour of the dot, circumflex, and dollar metacharacters are
|
199
|
+
affected by newline characters, the default is to recognize any newline
|
200
|
+
character (the same characters recognized by "\R"). This can be changed
|
201
|
+
with <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-NEWLINE-CR:CAPS"><span class="type">G_REGEX_NEWLINE_CR</span></a>, <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-NEWLINE-LF:CAPS"><span class="type">G_REGEX_NEWLINE_LF</span></a> and <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-NEWLINE-CRLF:CAPS"><span class="type">G_REGEX_NEWLINE_CRLF</span></a>
|
202
|
+
compile options, and with <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NEWLINE-ANY:CAPS"><span class="type">G_REGEX_MATCH_NEWLINE_ANY</span></a>,
|
203
|
+
<a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NEWLINE-CR:CAPS"><span class="type">G_REGEX_MATCH_NEWLINE_CR</span></a>, <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NEWLINE-LF:CAPS"><span class="type">G_REGEX_MATCH_NEWLINE_LF</span></a> and
|
204
|
+
<a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NEWLINE-CRLF:CAPS"><span class="type">G_REGEX_MATCH_NEWLINE_CRLF</span></a> match options. These settings are also
|
205
|
+
relevant when compiling a pattern if <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-EXTENDED:CAPS"><span class="type">G_REGEX_EXTENDED</span></a> is set, and an
|
206
|
+
unescaped "#" outside a character class is encountered. This indicates
|
207
|
+
a comment that lasts until after the next newline.
|
207
208
|
</p>
|
208
209
|
<p>
|
209
210
|
Creating and manipulating the same <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structure from different
|
210
211
|
threads is not a problem as <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> does not modify its internal
|
211
|
-
state between creation and destruction, on the other hand <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a>
|
212
|
-
not threadsafe.
|
212
|
+
state between creation and destruction, on the other hand <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a>
|
213
|
+
is not threadsafe.
|
213
214
|
</p>
|
214
215
|
<p>
|
215
|
-
The regular expressions low
|
216
|
+
The regular expressions low-level functionalities are obtained through
|
216
217
|
the excellent <a class="ulink" href="http://www.pcre.org/" target="_top">PCRE</a> library
|
217
218
|
written by Philip Hazel.
|
218
219
|
</p>
|
219
220
|
</div>
|
220
|
-
<div class="refsect1"
|
221
|
+
<div class="refsect1">
|
221
222
|
<a name="glib-Perl-compatible-regular-expressions.details"></a><h2>Details</h2>
|
222
|
-
<div class="refsect2"
|
223
|
+
<div class="refsect2">
|
223
224
|
<a name="GRegexError"></a><h3>enum GRegexError</h3>
|
224
225
|
<pre class="programlisting">typedef enum
|
225
226
|
{
|
@@ -287,7 +288,8 @@ Error codes returned by regular expressions functions.
|
|
287
288
|
</tr>
|
288
289
|
<tr>
|
289
290
|
<td><p><a name="G-REGEX-ERROR-REPLACE:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_REPLACE</code></span></p></td>
|
290
|
-
<td>Replacement failed due to an ill-formed replacement
|
291
|
+
<td>Replacement failed due to an ill-formed replacement
|
292
|
+
string.
|
291
293
|
</td>
|
292
294
|
</tr>
|
293
295
|
<tr>
|
@@ -297,7 +299,8 @@ Error codes returned by regular expressions functions.
|
|
297
299
|
</tr>
|
298
300
|
<tr>
|
299
301
|
<td><p><a name="G-REGEX-ERROR-INTERNAL:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_INTERNAL</code></span></p></td>
|
300
|
-
<td>Internal error of the regular expression engine.
|
302
|
+
<td>Internal error of the regular expression engine.
|
303
|
+
Since 2.16
|
301
304
|
</td>
|
302
305
|
</tr>
|
303
306
|
<tr>
|
@@ -312,32 +315,38 @@ Error codes returned by regular expressions functions.
|
|
312
315
|
</tr>
|
313
316
|
<tr>
|
314
317
|
<td><p><a name="G-REGEX-ERROR-UNRECOGNIZED-ESCAPE:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_UNRECOGNIZED_ESCAPE</code></span></p></td>
|
315
|
-
<td>Unrecognized character follows "\\".
|
318
|
+
<td>Unrecognized character follows "\\".
|
319
|
+
Since 2.16
|
316
320
|
</td>
|
317
321
|
</tr>
|
318
322
|
<tr>
|
319
323
|
<td><p><a name="G-REGEX-ERROR-QUANTIFIERS-OUT-OF-ORDER:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER</code></span></p></td>
|
320
|
-
<td>Numbers out of order in "{}"
|
324
|
+
<td>Numbers out of order in "{}"
|
325
|
+
quantifier. Since 2.16
|
321
326
|
</td>
|
322
327
|
</tr>
|
323
328
|
<tr>
|
324
329
|
<td><p><a name="G-REGEX-ERROR-QUANTIFIER-TOO-BIG:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_QUANTIFIER_TOO_BIG</code></span></p></td>
|
325
|
-
<td>Number too big in "{}" quantifier.
|
330
|
+
<td>Number too big in "{}" quantifier.
|
331
|
+
Since 2.16
|
326
332
|
</td>
|
327
333
|
</tr>
|
328
334
|
<tr>
|
329
335
|
<td><p><a name="G-REGEX-ERROR-UNTERMINATED-CHARACTER-CLASS:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS</code></span></p></td>
|
330
|
-
<td>Missing terminating "]" for
|
336
|
+
<td>Missing terminating "]" for
|
337
|
+
character class. Since 2.16
|
331
338
|
</td>
|
332
339
|
</tr>
|
333
340
|
<tr>
|
334
341
|
<td><p><a name="G-REGEX-ERROR-INVALID-ESCAPE-IN-CHARACTER-CLASS:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS</code></span></p></td>
|
335
|
-
<td>Invalid escape sequence
|
342
|
+
<td>Invalid escape sequence
|
343
|
+
in character class. Since 2.16
|
336
344
|
</td>
|
337
345
|
</tr>
|
338
346
|
<tr>
|
339
347
|
<td><p><a name="G-REGEX-ERROR-RANGE-OUT-OF-ORDER:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_RANGE_OUT_OF_ORDER</code></span></p></td>
|
340
|
-
<td>Range out of order in character class.
|
348
|
+
<td>Range out of order in character class.
|
349
|
+
Since 2.16
|
341
350
|
</td>
|
342
351
|
</tr>
|
343
352
|
<tr>
|
@@ -347,32 +356,38 @@ Error codes returned by regular expressions functions.
|
|
347
356
|
</tr>
|
348
357
|
<tr>
|
349
358
|
<td><p><a name="G-REGEX-ERROR-UNRECOGNIZED-CHARACTER:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_UNRECOGNIZED_CHARACTER</code></span></p></td>
|
350
|
-
<td>Unrecognized character after "(?",
|
359
|
+
<td>Unrecognized character after "(?",
|
360
|
+
"(?<" or "(?P". Since 2.16
|
351
361
|
</td>
|
352
362
|
</tr>
|
353
363
|
<tr>
|
354
364
|
<td><p><a name="G-REGEX-ERROR-POSIX-NAMED-CLASS-OUTSIDE-CLASS:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS</code></span></p></td>
|
355
|
-
<td>POSIX named classes are
|
365
|
+
<td>POSIX named classes are
|
366
|
+
supported only within a class. Since 2.16
|
356
367
|
</td>
|
357
368
|
</tr>
|
358
369
|
<tr>
|
359
370
|
<td><p><a name="G-REGEX-ERROR-UNMATCHED-PARENTHESIS:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_UNMATCHED_PARENTHESIS</code></span></p></td>
|
360
|
-
<td>Missing terminating ")" or ")"
|
371
|
+
<td>Missing terminating ")" or ")"
|
372
|
+
without opening "(". Since 2.16
|
361
373
|
</td>
|
362
374
|
</tr>
|
363
375
|
<tr>
|
364
376
|
<td><p><a name="G-REGEX-ERROR-INEXISTENT-SUBPATTERN-REFERENCE:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE</code></span></p></td>
|
365
|
-
<td>Reference to non-existent
|
377
|
+
<td>Reference to non-existent
|
378
|
+
subpattern. Since 2.16
|
366
379
|
</td>
|
367
380
|
</tr>
|
368
381
|
<tr>
|
369
382
|
<td><p><a name="G-REGEX-ERROR-UNTERMINATED-COMMENT:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_UNTERMINATED_COMMENT</code></span></p></td>
|
370
|
-
<td>Missing terminating ")" after comment.
|
383
|
+
<td>Missing terminating ")" after comment.
|
384
|
+
Since 2.16
|
371
385
|
</td>
|
372
386
|
</tr>
|
373
387
|
<tr>
|
374
388
|
<td><p><a name="G-REGEX-ERROR-EXPRESSION-TOO-LARGE:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_EXPRESSION_TOO_LARGE</code></span></p></td>
|
375
|
-
<td>Regular expression too large.
|
389
|
+
<td>Regular expression too large.
|
390
|
+
Since 2.16
|
376
391
|
</td>
|
377
392
|
</tr>
|
378
393
|
<tr>
|
@@ -382,37 +397,44 @@ Error codes returned by regular expressions functions.
|
|
382
397
|
</tr>
|
383
398
|
<tr>
|
384
399
|
<td><p><a name="G-REGEX-ERROR-VARIABLE-LENGTH-LOOKBEHIND:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND</code></span></p></td>
|
385
|
-
<td>Lookbehind assertion is not
|
400
|
+
<td>Lookbehind assertion is not
|
401
|
+
fixed length. Since 2.16
|
386
402
|
</td>
|
387
403
|
</tr>
|
388
404
|
<tr>
|
389
405
|
<td><p><a name="G-REGEX-ERROR-MALFORMED-CONDITION:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_MALFORMED_CONDITION</code></span></p></td>
|
390
|
-
<td>Malformed number or name after "(?(".
|
406
|
+
<td>Malformed number or name after "(?(".
|
407
|
+
Since 2.16
|
391
408
|
</td>
|
392
409
|
</tr>
|
393
410
|
<tr>
|
394
411
|
<td><p><a name="G-REGEX-ERROR-TOO-MANY-CONDITIONAL-BRANCHES:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES</code></span></p></td>
|
395
|
-
<td>Conditional group contains
|
412
|
+
<td>Conditional group contains
|
413
|
+
more than two branches. Since 2.16
|
396
414
|
</td>
|
397
415
|
</tr>
|
398
416
|
<tr>
|
399
417
|
<td><p><a name="G-REGEX-ERROR-ASSERTION-EXPECTED:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_ASSERTION_EXPECTED</code></span></p></td>
|
400
|
-
<td>Assertion expected after "(?(".
|
418
|
+
<td>Assertion expected after "(?(".
|
419
|
+
Since 2.16
|
401
420
|
</td>
|
402
421
|
</tr>
|
403
422
|
<tr>
|
404
423
|
<td><p><a name="G-REGEX-ERROR-UNKNOWN-POSIX-CLASS-NAME:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME</code></span></p></td>
|
405
|
-
<td>Unknown POSIX class name.
|
424
|
+
<td>Unknown POSIX class name.
|
425
|
+
Since 2.16
|
406
426
|
</td>
|
407
427
|
</tr>
|
408
428
|
<tr>
|
409
429
|
<td><p><a name="G-REGEX-ERROR-POSIX-COLLATING-ELEMENTS-NOT-SUPPORTED:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED</code></span></p></td>
|
410
|
-
<td>POSIX collating
|
430
|
+
<td>POSIX collating
|
431
|
+
elements are not supported. Since 2.16
|
411
432
|
</td>
|
412
433
|
</tr>
|
413
434
|
<tr>
|
414
435
|
<td><p><a name="G-REGEX-ERROR-HEX-CODE-TOO-LARGE:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_HEX_CODE_TOO_LARGE</code></span></p></td>
|
415
|
-
<td>Character value in "\\x{...}" sequence
|
436
|
+
<td>Character value in "\\x{...}" sequence
|
437
|
+
is too large. Since 2.16
|
416
438
|
</td>
|
417
439
|
</tr>
|
418
440
|
<tr>
|
@@ -422,68 +444,80 @@ Error codes returned by regular expressions functions.
|
|
422
444
|
</tr>
|
423
445
|
<tr>
|
424
446
|
<td><p><a name="G-REGEX-ERROR-SINGLE-BYTE-MATCH-IN-LOOKBEHIND:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND</code></span></p></td>
|
425
|
-
<td>\\C not allowed in
|
447
|
+
<td>\\C not allowed in
|
448
|
+
lookbehind assertion. Since 2.16
|
426
449
|
</td>
|
427
450
|
</tr>
|
428
451
|
<tr>
|
429
452
|
<td><p><a name="G-REGEX-ERROR-INFINITE-LOOP:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_INFINITE_LOOP</code></span></p></td>
|
430
|
-
<td>Recursive call could loop indefinitely.
|
453
|
+
<td>Recursive call could loop indefinitely.
|
454
|
+
Since 2.16
|
431
455
|
</td>
|
432
456
|
</tr>
|
433
457
|
<tr>
|
434
458
|
<td><p><a name="G-REGEX-ERROR-MISSING-SUBPATTERN-NAME-TERMINATOR:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR</code></span></p></td>
|
435
|
-
<td>Missing terminator
|
459
|
+
<td>Missing terminator
|
460
|
+
in subpattern name. Since 2.16
|
436
461
|
</td>
|
437
462
|
</tr>
|
438
463
|
<tr>
|
439
464
|
<td><p><a name="G-REGEX-ERROR-DUPLICATE-SUBPATTERN-NAME:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME</code></span></p></td>
|
440
|
-
<td>Two named subpatterns have
|
465
|
+
<td>Two named subpatterns have
|
466
|
+
the same name. Since 2.16
|
441
467
|
</td>
|
442
468
|
</tr>
|
443
469
|
<tr>
|
444
470
|
<td><p><a name="G-REGEX-ERROR-MALFORMED-PROPERTY:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_MALFORMED_PROPERTY</code></span></p></td>
|
445
|
-
<td>Malformed "\\P" or "\\p" sequence.
|
471
|
+
<td>Malformed "\\P" or "\\p" sequence.
|
472
|
+
Since 2.16
|
446
473
|
</td>
|
447
474
|
</tr>
|
448
475
|
<tr>
|
449
476
|
<td><p><a name="G-REGEX-ERROR-UNKNOWN-PROPERTY:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_UNKNOWN_PROPERTY</code></span></p></td>
|
450
|
-
<td>Unknown property name after "\\P" or
|
477
|
+
<td>Unknown property name after "\\P" or
|
478
|
+
"\\p". Since 2.16
|
451
479
|
</td>
|
452
480
|
</tr>
|
453
481
|
<tr>
|
454
482
|
<td><p><a name="G-REGEX-ERROR-SUBPATTERN-NAME-TOO-LONG:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG</code></span></p></td>
|
455
|
-
<td>Subpattern name is too long
|
483
|
+
<td>Subpattern name is too long
|
484
|
+
(maximum 32 characters). Since 2.16
|
456
485
|
</td>
|
457
486
|
</tr>
|
458
487
|
<tr>
|
459
488
|
<td><p><a name="G-REGEX-ERROR-TOO-MANY-SUBPATTERNS:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_TOO_MANY_SUBPATTERNS</code></span></p></td>
|
460
|
-
<td>Too many named subpatterns (maximum
|
489
|
+
<td>Too many named subpatterns (maximum
|
490
|
+
10,000). Since 2.16
|
461
491
|
</td>
|
462
492
|
</tr>
|
463
493
|
<tr>
|
464
494
|
<td><p><a name="G-REGEX-ERROR-INVALID-OCTAL-VALUE:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_INVALID_OCTAL_VALUE</code></span></p></td>
|
465
|
-
<td>Octal value is greater than "\\377".
|
495
|
+
<td>Octal value is greater than "\\377".
|
496
|
+
Since 2.16
|
466
497
|
</td>
|
467
498
|
</tr>
|
468
499
|
<tr>
|
469
500
|
<td><p><a name="G-REGEX-ERROR-TOO-MANY-BRANCHES-IN-DEFINE:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE</code></span></p></td>
|
470
|
-
<td>"DEFINE" group contains more
|
501
|
+
<td>"DEFINE" group contains more
|
502
|
+
than one branch. Since 2.16
|
471
503
|
</td>
|
472
504
|
</tr>
|
473
505
|
<tr>
|
474
506
|
<td><p><a name="G-REGEX-ERROR-DEFINE-REPETION:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_DEFINE_REPETION</code></span></p></td>
|
475
|
-
<td>Repeating a "DEFINE" group is not allowed.
|
507
|
+
<td>Repeating a "DEFINE" group is not allowed.
|
508
|
+
Since 2.16
|
476
509
|
</td>
|
477
510
|
</tr>
|
478
511
|
<tr>
|
479
512
|
<td><p><a name="G-REGEX-ERROR-INCONSISTENT-NEWLINE-OPTIONS:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS</code></span></p></td>
|
480
|
-
<td>Inconsistent newline options.
|
513
|
+
<td>Inconsistent newline options.
|
514
|
+
Since 2.16
|
481
515
|
</td>
|
482
516
|
</tr>
|
483
517
|
<tr>
|
484
518
|
<td><p><a name="G-REGEX-ERROR-MISSING-BACK-REFERENCE:CAPS"></a><span class="term"><code class="literal">G_REGEX_ERROR_MISSING_BACK_REFERENCE</code></span></p></td>
|
485
|
-
<td>"\\g" is not followed by a braced
|
486
|
-
optionally braced non-zero number. Since 2.16
|
519
|
+
<td>"\\g" is not followed by a braced
|
520
|
+
name or an optionally braced non-zero number. Since 2.16
|
487
521
|
</td>
|
488
522
|
</tr>
|
489
523
|
</tbody>
|
@@ -491,17 +525,19 @@ optionally braced non-zero number. Since 2.16
|
|
491
525
|
<p class="since">Since 2.14</p>
|
492
526
|
</div>
|
493
527
|
<hr>
|
494
|
-
<div class="refsect2"
|
528
|
+
<div class="refsect2">
|
495
529
|
<a name="G-REGEX-ERROR:CAPS"></a><h3>G_REGEX_ERROR</h3>
|
496
530
|
<pre class="programlisting">#define G_REGEX_ERROR g_regex_error_quark ()
|
497
531
|
</pre>
|
498
532
|
<p>
|
499
|
-
Error domain for regular expressions. Errors in this domain will be
|
533
|
+
Error domain for regular expressions. Errors in this domain will be
|
534
|
+
from the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexError" title="enum GRegexError"><span class="type">GRegexError</span></a> enumeration. See <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> for information on
|
535
|
+
error domains.
|
500
536
|
</p>
|
501
|
-
<p class="since">Since
|
537
|
+
<p class="since">Since </p>
|
502
538
|
</div>
|
503
539
|
<hr>
|
504
|
-
<div class="refsect2"
|
540
|
+
<div class="refsect2">
|
505
541
|
<a name="GRegexCompileFlags"></a><h3>enum GRegexCompileFlags</h3>
|
506
542
|
<pre class="programlisting">typedef enum
|
507
543
|
{
|
@@ -529,111 +565,114 @@ Flags specifying compile-time options.
|
|
529
565
|
<tbody>
|
530
566
|
<tr>
|
531
567
|
<td><p><a name="G-REGEX-CASELESS:CAPS"></a><span class="term"><code class="literal">G_REGEX_CASELESS</code></span></p></td>
|
532
|
-
<td>Letters in the pattern match both upper and
|
533
|
-
letters. This option can be changed within a pattern
|
534
|
-
setting.
|
568
|
+
<td>Letters in the pattern match both upper- and
|
569
|
+
lowercase letters. This option can be changed within a pattern
|
570
|
+
by a "(?i)" option setting.
|
535
571
|
</td>
|
536
572
|
</tr>
|
537
573
|
<tr>
|
538
574
|
<td><p><a name="G-REGEX-MULTILINE:CAPS"></a><span class="term"><code class="literal">G_REGEX_MULTILINE</code></span></p></td>
|
539
575
|
<td>By default, GRegex treats the strings as consisting
|
540
|
-
of a single line of characters (even if it actually contains
|
541
|
-
The "start of line" metacharacter ("^") matches only
|
542
|
-
string, while the "end of line" metacharacter
|
543
|
-
end of the string, or before a terminating
|
544
|
-
<a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-DOLLAR-ENDONLY:CAPS"><span class="type">G_REGEX_DOLLAR_ENDONLY</span></a> is set). When
|
545
|
-
the "start of line" and "end of line"
|
546
|
-
or immediately before any
|
547
|
-
|
548
|
-
"(?m)" option
|
576
|
+
of a single line of characters (even if it actually contains
|
577
|
+
newlines). The "start of line" metacharacter ("^") matches only
|
578
|
+
at the start of the string, while the "end of line" metacharacter
|
579
|
+
("$") matches only at the end of the string, or before a terminating
|
580
|
+
newline (unless <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-DOLLAR-ENDONLY:CAPS"><span class="type">G_REGEX_DOLLAR_ENDONLY</span></a> is set). When
|
581
|
+
<a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MULTILINE:CAPS"><span class="type">G_REGEX_MULTILINE</span></a> is set, the "start of line" and "end of line"
|
582
|
+
constructs match immediately following or immediately before any
|
583
|
+
newline in the string, respectively, as well as at the very start
|
584
|
+
and end. This can be changed within a pattern by a "(?m)" option
|
585
|
+
setting.
|
549
586
|
</td>
|
550
587
|
</tr>
|
551
588
|
<tr>
|
552
589
|
<td><p><a name="G-REGEX-DOTALL:CAPS"></a><span class="term"><code class="literal">G_REGEX_DOTALL</code></span></p></td>
|
553
590
|
<td>A dot metacharater (".") in the pattern matches all
|
554
|
-
characters, including newlines. Without it, newlines are excluded.
|
555
|
-
option can be changed within a pattern by a ("?s") option setting.
|
591
|
+
characters, including newlines. Without it, newlines are excluded.
|
592
|
+
This option can be changed within a pattern by a ("?s") option setting.
|
556
593
|
</td>
|
557
594
|
</tr>
|
558
595
|
<tr>
|
559
596
|
<td><p><a name="G-REGEX-EXTENDED:CAPS"></a><span class="term"><code class="literal">G_REGEX_EXTENDED</code></span></p></td>
|
560
597
|
<td>Whitespace data characters in the pattern are
|
561
|
-
totally ignored except when escaped or inside a character class.
|
562
|
-
Whitespace does not include the VT character (code 11). In addition,
|
563
|
-
characters between an unescaped "#" outside a character class and
|
564
|
-
the next newline character, inclusive, are also ignored. This can
|
565
|
-
changed within a pattern by a "(?x)" option setting.
|
598
|
+
totally ignored except when escaped or inside a character class.
|
599
|
+
Whitespace does not include the VT character (code 11). In addition,
|
600
|
+
characters between an unescaped "#" outside a character class and
|
601
|
+
the next newline character, inclusive, are also ignored. This can
|
602
|
+
be changed within a pattern by a "(?x)" option setting.
|
566
603
|
</td>
|
567
604
|
</tr>
|
568
605
|
<tr>
|
569
606
|
<td><p><a name="G-REGEX-ANCHORED:CAPS"></a><span class="term"><code class="literal">G_REGEX_ANCHORED</code></span></p></td>
|
570
607
|
<td>The pattern is forced to be "anchored", that is,
|
571
|
-
it is constrained to match only at the first matching point in the
|
572
|
-
that is being searched. This effect can also be achieved by
|
573
|
-
constructs in the pattern itself such as the "^"
|
608
|
+
it is constrained to match only at the first matching point in the
|
609
|
+
string that is being searched. This effect can also be achieved by
|
610
|
+
appropriate constructs in the pattern itself such as the "^"
|
611
|
+
metacharater.
|
574
612
|
</td>
|
575
613
|
</tr>
|
576
614
|
<tr>
|
577
615
|
<td><p><a name="G-REGEX-DOLLAR-ENDONLY:CAPS"></a><span class="term"><code class="literal">G_REGEX_DOLLAR_ENDONLY</code></span></p></td>
|
578
616
|
<td>A dollar metacharacter ("$") in the pattern
|
579
|
-
matches only at the end of the string. Without this option, a
|
580
|
-
matches immediately before the final character if
|
581
|
-
not before any other newlines). This option
|
582
|
-
<a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MULTILINE:CAPS"><span class="type">G_REGEX_MULTILINE</span></a> is set.
|
617
|
+
matches only at the end of the string. Without this option, a
|
618
|
+
dollar also matches immediately before the final character if
|
619
|
+
it is a newline (but not before any other newlines). This option
|
620
|
+
is ignored if <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MULTILINE:CAPS"><span class="type">G_REGEX_MULTILINE</span></a> is set.
|
583
621
|
</td>
|
584
622
|
</tr>
|
585
623
|
<tr>
|
586
624
|
<td><p><a name="G-REGEX-UNGREEDY:CAPS"></a><span class="term"><code class="literal">G_REGEX_UNGREEDY</code></span></p></td>
|
587
|
-
<td>Inverts the "greediness" of the
|
588
|
-
|
589
|
-
|
590
|
-
the pattern.
|
625
|
+
<td>Inverts the "greediness" of the quantifiers so that
|
626
|
+
they are not greedy by default, but become greedy if followed by "?".
|
627
|
+
It can also be set by a "(?U)" option setting within the pattern.
|
591
628
|
</td>
|
592
629
|
</tr>
|
593
630
|
<tr>
|
594
631
|
<td><p><a name="G-REGEX-RAW:CAPS"></a><span class="term"><code class="literal">G_REGEX_RAW</code></span></p></td>
|
595
632
|
<td>Usually strings must be valid UTF-8 strings, using this
|
596
|
-
flag they are considered as a raw sequence of bytes.
|
633
|
+
flag they are considered as a raw sequence of bytes.
|
597
634
|
</td>
|
598
635
|
</tr>
|
599
636
|
<tr>
|
600
637
|
<td><p><a name="G-REGEX-NO-AUTO-CAPTURE:CAPS"></a><span class="term"><code class="literal">G_REGEX_NO_AUTO_CAPTURE</code></span></p></td>
|
601
638
|
<td>Disables the use of numbered capturing
|
602
|
-
parentheses in the pattern. Any opening parenthesis that is not
|
603
|
-
by "?" behaves as if it were followed by "?:" but named
|
604
|
-
still be used for capturing (and they acquire numbers
|
639
|
+
parentheses in the pattern. Any opening parenthesis that is not
|
640
|
+
followed by "?" behaves as if it were followed by "?:" but named
|
641
|
+
parentheses can still be used for capturing (and they acquire numbers
|
642
|
+
in the usual way).
|
605
643
|
</td>
|
606
644
|
</tr>
|
607
645
|
<tr>
|
608
646
|
<td><p><a name="G-REGEX-OPTIMIZE:CAPS"></a><span class="term"><code class="literal">G_REGEX_OPTIMIZE</code></span></p></td>
|
609
647
|
<td>Optimize the regular expression. If the pattern will
|
610
|
-
be used many times, then it may be worth the effort to optimize it
|
611
|
-
improve the speed of matches.
|
648
|
+
be used many times, then it may be worth the effort to optimize it
|
649
|
+
to improve the speed of matches.
|
612
650
|
</td>
|
613
651
|
</tr>
|
614
652
|
<tr>
|
615
653
|
<td><p><a name="G-REGEX-DUPNAMES:CAPS"></a><span class="term"><code class="literal">G_REGEX_DUPNAMES</code></span></p></td>
|
616
654
|
<td>Names used to identify capturing subpatterns need not
|
617
|
-
be unique. This can be helpful for certain types of pattern when it
|
618
|
-
that only one instance of the named subpattern can ever be
|
655
|
+
be unique. This can be helpful for certain types of pattern when it
|
656
|
+
is known that only one instance of the named subpattern can ever be
|
657
|
+
matched.
|
619
658
|
</td>
|
620
659
|
</tr>
|
621
660
|
<tr>
|
622
661
|
<td><p><a name="G-REGEX-NEWLINE-CR:CAPS"></a><span class="term"><code class="literal">G_REGEX_NEWLINE_CR</code></span></p></td>
|
623
662
|
<td>Usually any newline character is recognized, if this
|
624
|
-
option is set, the only recognized newline character is '\r'.
|
663
|
+
option is set, the only recognized newline character is '\r'.
|
625
664
|
</td>
|
626
665
|
</tr>
|
627
666
|
<tr>
|
628
667
|
<td><p><a name="G-REGEX-NEWLINE-LF:CAPS"></a><span class="term"><code class="literal">G_REGEX_NEWLINE_LF</code></span></p></td>
|
629
668
|
<td>Usually any newline character is recognized, if this
|
630
|
-
option is set, the only recognized newline character is '\n'.
|
669
|
+
option is set, the only recognized newline character is '\n'.
|
631
670
|
</td>
|
632
671
|
</tr>
|
633
672
|
<tr>
|
634
673
|
<td><p><a name="G-REGEX-NEWLINE-CRLF:CAPS"></a><span class="term"><code class="literal">G_REGEX_NEWLINE_CRLF</code></span></p></td>
|
635
674
|
<td>Usually any newline character is recognized, if this
|
636
|
-
option is set, the only recognized newline character sequence is '\r\n'.
|
675
|
+
option is set, the only recognized newline character sequence is '\r\n'.
|
637
676
|
</td>
|
638
677
|
</tr>
|
639
678
|
</tbody>
|
@@ -641,7 +680,7 @@ option is set, the only recognized newline character sequence is '\r\n'.
|
|
641
680
|
<p class="since">Since 2.14</p>
|
642
681
|
</div>
|
643
682
|
<hr>
|
644
|
-
<div class="refsect2"
|
683
|
+
<div class="refsect2">
|
645
684
|
<a name="GRegexMatchFlags"></a><h3>enum GRegexMatchFlags</h3>
|
646
685
|
<pre class="programlisting">typedef enum
|
647
686
|
{
|
@@ -665,69 +704,73 @@ Flags specifying match-time options.
|
|
665
704
|
<tr>
|
666
705
|
<td><p><a name="G-REGEX-MATCH-ANCHORED:CAPS"></a><span class="term"><code class="literal">G_REGEX_MATCH_ANCHORED</code></span></p></td>
|
667
706
|
<td>The pattern is forced to be "anchored", that is,
|
668
|
-
it is constrained to match only at the first matching point in the
|
669
|
-
that is being searched. This effect can also be achieved by
|
670
|
-
constructs in the pattern itself such as the "^"
|
707
|
+
it is constrained to match only at the first matching point in the
|
708
|
+
string that is being searched. This effect can also be achieved by
|
709
|
+
appropriate constructs in the pattern itself such as the "^"
|
710
|
+
metacharater.
|
671
711
|
</td>
|
672
712
|
</tr>
|
673
713
|
<tr>
|
674
714
|
<td><p><a name="G-REGEX-MATCH-NOTBOL:CAPS"></a><span class="term"><code class="literal">G_REGEX_MATCH_NOTBOL</code></span></p></td>
|
675
715
|
<td>Specifies that first character of the string is
|
676
|
-
not the beginning of a line, so the circumflex metacharacter should
|
677
|
-
match before it. Setting this without G_REGEX_MULTILINE (at
|
678
|
-
causes circumflex never to match. This option affects
|
679
|
-
the circumflex metacharacter, it does not
|
716
|
+
not the beginning of a line, so the circumflex metacharacter should
|
717
|
+
not match before it. Setting this without <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MULTILINE:CAPS"><span class="type">G_REGEX_MULTILINE</span></a> (at
|
718
|
+
compile time) causes circumflex never to match. This option affects
|
719
|
+
only the behaviour of the circumflex metacharacter, it does not
|
720
|
+
affect "\A".
|
680
721
|
</td>
|
681
722
|
</tr>
|
682
723
|
<tr>
|
683
724
|
<td><p><a name="G-REGEX-MATCH-NOTEOL:CAPS"></a><span class="term"><code class="literal">G_REGEX_MATCH_NOTEOL</code></span></p></td>
|
684
725
|
<td>Specifies that the end of the subject string is
|
685
|
-
not the end of a line, so the dollar metacharacter should not match
|
686
|
-
(except in multiline mode) a newline immediately before it.
|
687
|
-
without G_REGEX_MULTILINE (at compile time) causes
|
688
|
-
This option affects only the behaviour of
|
689
|
-
not affect "\Z" or "\z".
|
726
|
+
not the end of a line, so the dollar metacharacter should not match
|
727
|
+
it nor (except in multiline mode) a newline immediately before it.
|
728
|
+
Setting this without <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MULTILINE:CAPS"><span class="type">G_REGEX_MULTILINE</span></a> (at compile time) causes
|
729
|
+
dollar never to match. This option affects only the behaviour of
|
730
|
+
the dollar metacharacter, it does not affect "\Z" or "\z".
|
690
731
|
</td>
|
691
732
|
</tr>
|
692
733
|
<tr>
|
693
734
|
<td><p><a name="G-REGEX-MATCH-NOTEMPTY:CAPS"></a><span class="term"><code class="literal">G_REGEX_MATCH_NOTEMPTY</code></span></p></td>
|
694
735
|
<td>An empty string is not considered to be a valid
|
695
|
-
match if this option is set. If there are alternatives in the pattern,
|
696
|
-
are tried. If all the alternatives match the empty string, the
|
697
|
-
fails. For example, if the pattern "a?b?" is applied to
|
698
|
-
with "a" or "b", it matches the empty string
|
699
|
-
With this flag set, this match is not
|
700
|
-
into the string for occurrences
|
736
|
+
match if this option is set. If there are alternatives in the pattern,
|
737
|
+
they are tried. If all the alternatives match the empty string, the
|
738
|
+
entire match fails. For example, if the pattern "a?b?" is applied to
|
739
|
+
a string not beginning with "a" or "b", it matches the empty string
|
740
|
+
at the start of the string. With this flag set, this match is not
|
741
|
+
valid, so GRegex searches further into the string for occurrences
|
742
|
+
of "a" or "b".
|
701
743
|
</td>
|
702
744
|
</tr>
|
703
745
|
<tr>
|
704
746
|
<td><p><a name="G-REGEX-MATCH-PARTIAL:CAPS"></a><span class="term"><code class="literal">G_REGEX_MATCH_PARTIAL</code></span></p></td>
|
705
747
|
<td>Turns on the partial matching feature, for more
|
706
|
-
documentation on partial matching see <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-is-partial-match" title="g_match_info_is_partial_match ()"><code class="function">g_match_info_is_partial_match()</code></a>.
|
748
|
+
documentation on partial matching see <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-is-partial-match" title="g_match_info_is_partial_match ()"><code class="function">g_match_info_is_partial_match()</code></a>.
|
707
749
|
</td>
|
708
750
|
</tr>
|
709
751
|
<tr>
|
710
752
|
<td><p><a name="G-REGEX-MATCH-NEWLINE-CR:CAPS"></a><span class="term"><code class="literal">G_REGEX_MATCH_NEWLINE_CR</code></span></p></td>
|
711
|
-
<td>Overrides the newline definition set when
|
712
|
-
a new <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a>, setting the '\r' character as line terminator.
|
753
|
+
<td>Overrides the newline definition set when
|
754
|
+
creating a new <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a>, setting the '\r' character as line terminator.
|
713
755
|
</td>
|
714
756
|
</tr>
|
715
757
|
<tr>
|
716
758
|
<td><p><a name="G-REGEX-MATCH-NEWLINE-LF:CAPS"></a><span class="term"><code class="literal">G_REGEX_MATCH_NEWLINE_LF</code></span></p></td>
|
717
|
-
<td>Overrides the newline definition set when
|
718
|
-
a new <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a>, setting the '\n' character as line terminator.
|
759
|
+
<td>Overrides the newline definition set when
|
760
|
+
creating a new <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a>, setting the '\n' character as line terminator.
|
719
761
|
</td>
|
720
762
|
</tr>
|
721
763
|
<tr>
|
722
764
|
<td><p><a name="G-REGEX-MATCH-NEWLINE-CRLF:CAPS"></a><span class="term"><code class="literal">G_REGEX_MATCH_NEWLINE_CRLF</code></span></p></td>
|
723
|
-
<td>Overrides the newline definition set when
|
724
|
-
a new <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a>, setting the '\r\n' characters as line terminator.
|
765
|
+
<td>Overrides the newline definition set when
|
766
|
+
creating a new <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a>, setting the '\r\n' characters as line terminator.
|
725
767
|
</td>
|
726
768
|
</tr>
|
727
769
|
<tr>
|
728
770
|
<td><p><a name="G-REGEX-MATCH-NEWLINE-ANY:CAPS"></a><span class="term"><code class="literal">G_REGEX_MATCH_NEWLINE_ANY</code></span></p></td>
|
729
|
-
<td>Overrides the newline definition set when
|
730
|
-
a new <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a>, any newline character or character sequence
|
771
|
+
<td>Overrides the newline definition set when
|
772
|
+
creating a new <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a>, any newline character or character sequence
|
773
|
+
is recognized.
|
731
774
|
</td>
|
732
775
|
</tr>
|
733
776
|
</tbody>
|
@@ -735,7 +778,7 @@ a new <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex
|
|
735
778
|
<p class="since">Since 2.14</p>
|
736
779
|
</div>
|
737
780
|
<hr>
|
738
|
-
<div class="refsect2"
|
781
|
+
<div class="refsect2">
|
739
782
|
<a name="GRegex"></a><h3>GRegex</h3>
|
740
783
|
<pre class="programlisting">typedef struct _GRegex GRegex;</pre>
|
741
784
|
<p>
|
@@ -745,7 +788,7 @@ structure is opaque and its fields cannot be accessed directly.
|
|
745
788
|
<p class="since">Since 2.14</p>
|
746
789
|
</div>
|
747
790
|
<hr>
|
748
|
-
<div class="refsect2"
|
791
|
+
<div class="refsect2">
|
749
792
|
<a name="GRegexEvalCallback"></a><h3>GRegexEvalCallback ()</h3>
|
750
793
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> (*GRegexEvalCallback) (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
751
794
|
<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="GString"><span class="type">GString</span></a> *result</code></em>,
|
@@ -761,9 +804,9 @@ to <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-r
|
|
761
804
|
<tbody>
|
762
805
|
<tr>
|
763
806
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
764
|
-
<td>the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> generated by the match.
|
765
|
-
Use <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-get-regex" title="g_match_info_get_regex ()"><code class="function">g_match_info_get_regex()</code></a> and <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-get-string" title="g_match_info_get_string ()"><code class="function">g_match_info_get_string()</code></a> if you
|
766
|
-
need the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> or the matched string.
|
807
|
+
<td>the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> generated by the match.
|
808
|
+
Use <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-get-regex" title="g_match_info_get_regex ()"><code class="function">g_match_info_get_regex()</code></a> and <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-get-string" title="g_match_info_get_string ()"><code class="function">g_match_info_get_string()</code></a> if you
|
809
|
+
need the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> or the matched string.
|
767
810
|
</td>
|
768
811
|
</tr>
|
769
812
|
<tr>
|
@@ -778,8 +821,8 @@ need the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRe
|
|
778
821
|
</tr>
|
779
822
|
<tr>
|
780
823
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
781
|
-
<td>
|
782
|
-
|
824
|
+
<td> <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> to continue the replacement process, <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> to stop it
|
825
|
+
|
783
826
|
</td>
|
784
827
|
</tr>
|
785
828
|
</tbody>
|
@@ -787,14 +830,14 @@ need the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRe
|
|
787
830
|
<p class="since">Since 2.14</p>
|
788
831
|
</div>
|
789
832
|
<hr>
|
790
|
-
<div class="refsect2"
|
833
|
+
<div class="refsect2">
|
791
834
|
<a name="g-regex-new"></a><h3>g_regex_new ()</h3>
|
792
835
|
<pre class="programlisting"><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="returnvalue">GRegex</span></a> * g_regex_new (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *pattern</code></em>,
|
793
836
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexCompileFlags" title="enum GRegexCompileFlags"><span class="type">GRegexCompileFlags</span></a> compile_options</code></em>,
|
794
837
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>,
|
795
838
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
796
839
|
<p>
|
797
|
-
Compiles the regular expression to an internal form, and does
|
840
|
+
Compiles the regular expression to an internal form, and does
|
798
841
|
the initial setup of the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structure.
|
799
842
|
</p>
|
800
843
|
<div class="variablelist"><table border="0">
|
@@ -807,7 +850,7 @@ the initial setup of the <a class="link" href="glib-Perl-compatible-regular-expr
|
|
807
850
|
</tr>
|
808
851
|
<tr>
|
809
852
|
<td><p><span class="term"><em class="parameter"><code>compile_options</code></em> :</span></p></td>
|
810
|
-
<td>compile options for the regular expression, or 0
|
853
|
+
<td>compile options for the regular expression, or 0
|
811
854
|
</td>
|
812
855
|
</tr>
|
813
856
|
<tr>
|
@@ -822,7 +865,7 @@ the initial setup of the <a class="link" href="glib-Perl-compatible-regular-expr
|
|
822
865
|
</tr>
|
823
866
|
<tr>
|
824
867
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
825
|
-
<td> a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structure. Call <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-unref" title="g_regex_unref ()"><code class="function">g_regex_unref()</code></a> when you
|
868
|
+
<td> a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structure. Call <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-unref" title="g_regex_unref ()"><code class="function">g_regex_unref()</code></a> when you
|
826
869
|
are done with it
|
827
870
|
|
828
871
|
</td>
|
@@ -832,7 +875,7 @@ the initial setup of the <a class="link" href="glib-Perl-compatible-regular-expr
|
|
832
875
|
<p class="since">Since 2.14</p>
|
833
876
|
</div>
|
834
877
|
<hr>
|
835
|
-
<div class="refsect2"
|
878
|
+
<div class="refsect2">
|
836
879
|
<a name="g-regex-ref"></a><h3>g_regex_ref ()</h3>
|
837
880
|
<pre class="programlisting"><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="returnvalue">GRegex</span></a> * g_regex_ref (<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);</pre>
|
838
881
|
<p>
|
@@ -857,7 +900,7 @@ Increases reference count of <em class="parameter"><code>regex</code></em> by 1.
|
|
857
900
|
<p class="since">Since 2.14</p>
|
858
901
|
</div>
|
859
902
|
<hr>
|
860
|
-
<div class="refsect2"
|
903
|
+
<div class="refsect2">
|
861
904
|
<a name="g-regex-unref"></a><h3>g_regex_unref ()</h3>
|
862
905
|
<pre class="programlisting"><span class="returnvalue">void</span> g_regex_unref (<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);</pre>
|
863
906
|
<p>
|
@@ -875,11 +918,11 @@ to zero, it frees all the memory associated with the regex structure.
|
|
875
918
|
<p class="since">Since 2.14</p>
|
876
919
|
</div>
|
877
920
|
<hr>
|
878
|
-
<div class="refsect2"
|
921
|
+
<div class="refsect2">
|
879
922
|
<a name="g-regex-get-pattern"></a><h3>g_regex_get_pattern ()</h3>
|
880
923
|
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_regex_get_pattern (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);</pre>
|
881
924
|
<p>
|
882
|
-
Gets the pattern string associated with <em class="parameter"><code>regex</code></em>, i.e. a copy of
|
925
|
+
Gets the pattern string associated with <em class="parameter"><code>regex</code></em>, i.e. a copy of
|
883
926
|
the string passed to <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-new" title="g_regex_new ()"><code class="function">g_regex_new()</code></a>.
|
884
927
|
</p>
|
885
928
|
<div class="variablelist"><table border="0">
|
@@ -901,7 +944,7 @@ the string passed to <a class="link" href="glib-Perl-compatible-regular-expressi
|
|
901
944
|
<p class="since">Since 2.14</p>
|
902
945
|
</div>
|
903
946
|
<hr>
|
904
|
-
<div class="refsect2"
|
947
|
+
<div class="refsect2">
|
905
948
|
<a name="g-regex-get-max-backref"></a><h3>g_regex_get_max_backref ()</h3>
|
906
949
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_regex_get_max_backref (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);</pre>
|
907
950
|
<p>
|
@@ -928,7 +971,7 @@ back references.
|
|
928
971
|
<p class="since">Since 2.14</p>
|
929
972
|
</div>
|
930
973
|
<hr>
|
931
|
-
<div class="refsect2"
|
974
|
+
<div class="refsect2">
|
932
975
|
<a name="g-regex-get-capture-count"></a><h3>g_regex_get_capture_count ()</h3>
|
933
976
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_regex_get_capture_count (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);</pre>
|
934
977
|
<p>
|
@@ -953,7 +996,7 @@ Returns the number of capturing subpatterns in the pattern.
|
|
953
996
|
<p class="since">Since 2.14</p>
|
954
997
|
</div>
|
955
998
|
<hr>
|
956
|
-
<div class="refsect2"
|
999
|
+
<div class="refsect2">
|
957
1000
|
<a name="g-regex-get-string-number"></a><h3>g_regex_get_string_number ()</h3>
|
958
1001
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_regex_get_string_number (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
959
1002
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
|
@@ -976,7 +1019,7 @@ Retrieves the number of the subexpression named <em class="parameter"><code>name
|
|
976
1019
|
</tr>
|
977
1020
|
<tr>
|
978
1021
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
979
|
-
<td> The number of the subexpression or -1 if <em class="parameter"><code>name</code></em>
|
1022
|
+
<td> The number of the subexpression or -1 if <em class="parameter"><code>name</code></em>
|
980
1023
|
does not exists
|
981
1024
|
|
982
1025
|
</td>
|
@@ -986,18 +1029,68 @@ Retrieves the number of the subexpression named <em class="parameter"><code>name
|
|
986
1029
|
<p class="since">Since 2.14</p>
|
987
1030
|
</div>
|
988
1031
|
<hr>
|
989
|
-
<div class="refsect2"
|
1032
|
+
<div class="refsect2">
|
1033
|
+
<a name="g-regex-get-compile-flags"></a><h3>g_regex_get_compile_flags ()</h3>
|
1034
|
+
<pre class="programlisting"><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexCompileFlags" title="enum GRegexCompileFlags"><span class="returnvalue">GRegexCompileFlags</span></a> g_regex_get_compile_flags (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);</pre>
|
1035
|
+
<p>
|
1036
|
+
Returns the compile options that <em class="parameter"><code>regex</code></em> was created with.
|
1037
|
+
</p>
|
1038
|
+
<div class="variablelist"><table border="0">
|
1039
|
+
<col align="left" valign="top">
|
1040
|
+
<tbody>
|
1041
|
+
<tr>
|
1042
|
+
<td><p><span class="term"><em class="parameter"><code>regex</code></em> :</span></p></td>
|
1043
|
+
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a>
|
1044
|
+
</td>
|
1045
|
+
</tr>
|
1046
|
+
<tr>
|
1047
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1048
|
+
<td> flags from <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexCompileFlags" title="enum GRegexCompileFlags"><span class="type">GRegexCompileFlags</span></a>
|
1049
|
+
|
1050
|
+
</td>
|
1051
|
+
</tr>
|
1052
|
+
</tbody>
|
1053
|
+
</table></div>
|
1054
|
+
<p class="since">Since 2.26</p>
|
1055
|
+
</div>
|
1056
|
+
<hr>
|
1057
|
+
<div class="refsect2">
|
1058
|
+
<a name="g-regex-get-match-flags"></a><h3>g_regex_get_match_flags ()</h3>
|
1059
|
+
<pre class="programlisting"><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="returnvalue">GRegexMatchFlags</span></a> g_regex_get_match_flags (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>);</pre>
|
1060
|
+
<p>
|
1061
|
+
Returns the match options that <em class="parameter"><code>regex</code></em> was created with.
|
1062
|
+
</p>
|
1063
|
+
<div class="variablelist"><table border="0">
|
1064
|
+
<col align="left" valign="top">
|
1065
|
+
<tbody>
|
1066
|
+
<tr>
|
1067
|
+
<td><p><span class="term"><em class="parameter"><code>regex</code></em> :</span></p></td>
|
1068
|
+
<td>a <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a>
|
1069
|
+
</td>
|
1070
|
+
</tr>
|
1071
|
+
<tr>
|
1072
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1073
|
+
<td> flags from <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a>
|
1074
|
+
|
1075
|
+
</td>
|
1076
|
+
</tr>
|
1077
|
+
</tbody>
|
1078
|
+
</table></div>
|
1079
|
+
<p class="since">Since 2.26</p>
|
1080
|
+
</div>
|
1081
|
+
<hr>
|
1082
|
+
<div class="refsect2">
|
990
1083
|
<a name="g-regex-escape-string"></a><h3>g_regex_escape_string ()</h3>
|
991
1084
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_regex_escape_string (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
992
1085
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> length</code></em>);</pre>
|
993
1086
|
<p>
|
994
|
-
Escapes the special characters used for regular expressions
|
995
|
-
in <em class="parameter"><code>string</code></em>, for instance "a.b*c" becomes "a\.b\*c". This
|
1087
|
+
Escapes the special characters used for regular expressions
|
1088
|
+
in <em class="parameter"><code>string</code></em>, for instance "a.b*c" becomes "a\.b\*c". This
|
996
1089
|
function is useful to dynamically generate regular expressions.
|
997
1090
|
</p>
|
998
1091
|
<p>
|
999
|
-
<em class="parameter"><code>string</code></em> can contain nul characters that are replaced with "\0",
|
1000
|
-
in this case remember to specify the correct length of <em class="parameter"><code>string</code></em>
|
1092
|
+
<em class="parameter"><code>string</code></em> can contain nul characters that are replaced with "\0",
|
1093
|
+
in this case remember to specify the correct length of <em class="parameter"><code>string</code></em>
|
1001
1094
|
in <em class="parameter"><code>length</code></em>.
|
1002
1095
|
</p>
|
1003
1096
|
<div class="variablelist"><table border="0">
|
@@ -1005,7 +1098,7 @@ in <em class="parameter"><code>length</code></em>.
|
|
1005
1098
|
<tbody>
|
1006
1099
|
<tr>
|
1007
1100
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1008
|
-
<td>the string to escape
|
1101
|
+
<td> the string to escape. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length]</span>
|
1009
1102
|
</td>
|
1010
1103
|
</tr>
|
1011
1104
|
<tr>
|
@@ -1024,7 +1117,7 @@ in <em class="parameter"><code>length</code></em>.
|
|
1024
1117
|
<p class="since">Since 2.14</p>
|
1025
1118
|
</div>
|
1026
1119
|
<hr>
|
1027
|
-
<div class="refsect2"
|
1120
|
+
<div class="refsect2">
|
1028
1121
|
<a name="g-regex-match-simple"></a><h3>g_regex_match_simple ()</h3>
|
1029
1122
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_regex_match_simple (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *pattern</code></em>,
|
1030
1123
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
@@ -1078,26 +1171,26 @@ once, it's more efficient to compile the pattern once with
|
|
1078
1171
|
<p class="since">Since 2.14</p>
|
1079
1172
|
</div>
|
1080
1173
|
<hr>
|
1081
|
-
<div class="refsect2"
|
1174
|
+
<div class="refsect2">
|
1082
1175
|
<a name="g-regex-match"></a><h3>g_regex_match ()</h3>
|
1083
1176
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_regex_match (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1084
1177
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
1085
1178
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>,
|
1086
1179
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> **match_info</code></em>);</pre>
|
1087
1180
|
<p>
|
1088
|
-
Scans for a match in string for the pattern in <em class="parameter"><code>regex</code></em>.
|
1089
|
-
The <em class="parameter"><code>match_options</code></em> are combined with the match options specified
|
1090
|
-
when the <em class="parameter"><code>regex</code></em> structure was created, letting you have more
|
1181
|
+
Scans for a match in string for the pattern in <em class="parameter"><code>regex</code></em>.
|
1182
|
+
The <em class="parameter"><code>match_options</code></em> are combined with the match options specified
|
1183
|
+
when the <em class="parameter"><code>regex</code></em> structure was created, letting you have more
|
1091
1184
|
flexibility in reusing <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structures.
|
1092
1185
|
</p>
|
1093
1186
|
<p>
|
1094
|
-
A <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure, used to get information on the match,
|
1095
|
-
is stored in <em class="parameter"><code>match_info</code></em> if not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. Note that if <em class="parameter"><code>match_info</code></em>
|
1096
|
-
is not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then it is created even if the function returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>,
|
1187
|
+
A <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure, used to get information on the match,
|
1188
|
+
is stored in <em class="parameter"><code>match_info</code></em> if not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. Note that if <em class="parameter"><code>match_info</code></em>
|
1189
|
+
is not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then it is created even if the function returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>,
|
1097
1190
|
i.e. you must free it regardless if regular expression actually matched.
|
1098
1191
|
</p>
|
1099
1192
|
<p>
|
1100
|
-
To retrieve all the non-overlapping matches of the pattern in
|
1193
|
+
To retrieve all the non-overlapping matches of the pattern in
|
1101
1194
|
string you can use <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-next" title="g_match_info_next ()"><code class="function">g_match_info_next()</code></a>.
|
1102
1195
|
</p>
|
1103
1196
|
<p>
|
@@ -1152,8 +1245,8 @@ string you can use <a class="link" href="glib-Perl-compatible-regular-expression
|
|
1152
1245
|
<p>
|
1153
1246
|
</p>
|
1154
1247
|
<p>
|
1155
|
-
<em class="parameter"><code>string</code></em> is not copied and is used in <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> internally. If
|
1156
|
-
you use any <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> method (except <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-free" title="g_match_info_free ()"><code class="function">g_match_info_free()</code></a>) after
|
1248
|
+
<em class="parameter"><code>string</code></em> is not copied and is used in <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> internally. If
|
1249
|
+
you use any <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> method (except <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-free" title="g_match_info_free ()"><code class="function">g_match_info_free()</code></a>) after
|
1157
1250
|
freeing or modifying <em class="parameter"><code>string</code></em> then the behaviour is undefined.
|
1158
1251
|
</p>
|
1159
1252
|
<div class="variablelist"><table border="0">
|
@@ -1176,8 +1269,8 @@ freeing or modifying <em class="parameter"><code>string</code></em> then the beh
|
|
1176
1269
|
</tr>
|
1177
1270
|
<tr>
|
1178
1271
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
1179
|
-
<td>pointer to location where to store
|
1180
|
-
|
1272
|
+
<td> pointer to location where to store
|
1273
|
+
the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if you do not need it. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1181
1274
|
</td>
|
1182
1275
|
</tr>
|
1183
1276
|
<tr>
|
@@ -1191,7 +1284,7 @@ freeing or modifying <em class="parameter"><code>string</code></em> then the beh
|
|
1191
1284
|
<p class="since">Since 2.14</p>
|
1192
1285
|
</div>
|
1193
1286
|
<hr>
|
1194
|
-
<div class="refsect2"
|
1287
|
+
<div class="refsect2">
|
1195
1288
|
<a name="g-regex-match-full"></a><h3>g_regex_match_full ()</h3>
|
1196
1289
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_regex_match_full (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1197
1290
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
@@ -1201,30 +1294,30 @@ freeing or modifying <em class="parameter"><code>string</code></em> then the beh
|
|
1201
1294
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> **match_info</code></em>,
|
1202
1295
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1203
1296
|
<p>
|
1204
|
-
Scans for a match in string for the pattern in <em class="parameter"><code>regex</code></em>.
|
1205
|
-
The <em class="parameter"><code>match_options</code></em> are combined with the match options specified
|
1206
|
-
when the <em class="parameter"><code>regex</code></em> structure was created, letting you have more
|
1297
|
+
Scans for a match in string for the pattern in <em class="parameter"><code>regex</code></em>.
|
1298
|
+
The <em class="parameter"><code>match_options</code></em> are combined with the match options specified
|
1299
|
+
when the <em class="parameter"><code>regex</code></em> structure was created, letting you have more
|
1207
1300
|
flexibility in reusing <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> structures.
|
1208
1301
|
</p>
|
1209
1302
|
<p>
|
1210
|
-
Setting <em class="parameter"><code>start_position</code></em> differs from just passing over a shortened
|
1211
|
-
string and setting <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NOTBOL:CAPS"><span class="type">G_REGEX_MATCH_NOTBOL</span></a> in the case of a pattern
|
1303
|
+
Setting <em class="parameter"><code>start_position</code></em> differs from just passing over a shortened
|
1304
|
+
string and setting <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NOTBOL:CAPS"><span class="type">G_REGEX_MATCH_NOTBOL</span></a> in the case of a pattern
|
1212
1305
|
that begins with any kind of lookbehind assertion, such as "\b".
|
1213
1306
|
</p>
|
1214
1307
|
<p>
|
1215
|
-
A <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure, used to get information on the match, is
|
1216
|
-
stored in <em class="parameter"><code>match_info</code></em> if not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. Note that if <em class="parameter"><code>match_info</code></em> is
|
1217
|
-
not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then it is created even if the function returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>,
|
1218
|
-
i.e. you must free it regardless if regular expression actually
|
1308
|
+
A <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure, used to get information on the match, is
|
1309
|
+
stored in <em class="parameter"><code>match_info</code></em> if not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. Note that if <em class="parameter"><code>match_info</code></em> is
|
1310
|
+
not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then it is created even if the function returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>,
|
1311
|
+
i.e. you must free it regardless if regular expression actually
|
1219
1312
|
matched.
|
1220
1313
|
</p>
|
1221
1314
|
<p>
|
1222
|
-
<em class="parameter"><code>string</code></em> is not copied and is used in <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> internally. If
|
1223
|
-
you use any <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> method (except <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-free" title="g_match_info_free ()"><code class="function">g_match_info_free()</code></a>) after
|
1315
|
+
<em class="parameter"><code>string</code></em> is not copied and is used in <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> internally. If
|
1316
|
+
you use any <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> method (except <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-free" title="g_match_info_free ()"><code class="function">g_match_info_free()</code></a>) after
|
1224
1317
|
freeing or modifying <em class="parameter"><code>string</code></em> then the behaviour is undefined.
|
1225
1318
|
</p>
|
1226
1319
|
<p>
|
1227
|
-
To retrieve all the non-overlapping matches of the pattern in
|
1320
|
+
To retrieve all the non-overlapping matches of the pattern in
|
1228
1321
|
string you can use <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-next" title="g_match_info_next ()"><code class="function">g_match_info_next()</code></a>.
|
1229
1322
|
</p>
|
1230
1323
|
<p>
|
@@ -1300,7 +1393,7 @@ string you can use <a class="link" href="glib-Perl-compatible-regular-expression
|
|
1300
1393
|
</tr>
|
1301
1394
|
<tr>
|
1302
1395
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1303
|
-
<td>the string to scan for matches
|
1396
|
+
<td> the string to scan for matches. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=string_len]</span>
|
1304
1397
|
</td>
|
1305
1398
|
</tr>
|
1306
1399
|
<tr>
|
@@ -1320,8 +1413,8 @@ string you can use <a class="link" href="glib-Perl-compatible-regular-expression
|
|
1320
1413
|
</tr>
|
1321
1414
|
<tr>
|
1322
1415
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
1323
|
-
<td>pointer to location where to store
|
1324
|
-
|
1416
|
+
<td> pointer to location where to store
|
1417
|
+
the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if you do not need it. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1325
1418
|
</td>
|
1326
1419
|
</tr>
|
1327
1420
|
<tr>
|
@@ -1340,28 +1433,28 @@ string you can use <a class="link" href="glib-Perl-compatible-regular-expression
|
|
1340
1433
|
<p class="since">Since 2.14</p>
|
1341
1434
|
</div>
|
1342
1435
|
<hr>
|
1343
|
-
<div class="refsect2"
|
1436
|
+
<div class="refsect2">
|
1344
1437
|
<a name="g-regex-match-all"></a><h3>g_regex_match_all ()</h3>
|
1345
1438
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_regex_match_all (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1346
1439
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
1347
1440
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>,
|
1348
1441
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> **match_info</code></em>);</pre>
|
1349
1442
|
<p>
|
1350
|
-
Using the standard algorithm for regular expression matching only
|
1351
|
-
the longest match in the string is retrieved. This function uses
|
1443
|
+
Using the standard algorithm for regular expression matching only
|
1444
|
+
the longest match in the string is retrieved. This function uses
|
1352
1445
|
a different algorithm so it can retrieve all the possible matches.
|
1353
1446
|
For more documentation see <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-match-all-full" title="g_regex_match_all_full ()"><code class="function">g_regex_match_all_full()</code></a>.
|
1354
1447
|
</p>
|
1355
1448
|
<p>
|
1356
|
-
A <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure, used to get information on the match, is
|
1357
|
-
stored in <em class="parameter"><code>match_info</code></em> if not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. Note that if <em class="parameter"><code>match_info</code></em> is
|
1358
|
-
not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then it is created even if the function returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>,
|
1359
|
-
i.e. you must free it regardless if regular expression actually
|
1449
|
+
A <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure, used to get information on the match, is
|
1450
|
+
stored in <em class="parameter"><code>match_info</code></em> if not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. Note that if <em class="parameter"><code>match_info</code></em> is
|
1451
|
+
not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then it is created even if the function returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>,
|
1452
|
+
i.e. you must free it regardless if regular expression actually
|
1360
1453
|
matched.
|
1361
1454
|
</p>
|
1362
1455
|
<p>
|
1363
|
-
<em class="parameter"><code>string</code></em> is not copied and is used in <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> internally. If
|
1364
|
-
you use any <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> method (except <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-free" title="g_match_info_free ()"><code class="function">g_match_info_free()</code></a>) after
|
1456
|
+
<em class="parameter"><code>string</code></em> is not copied and is used in <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> internally. If
|
1457
|
+
you use any <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> method (except <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-free" title="g_match_info_free ()"><code class="function">g_match_info_free()</code></a>) after
|
1365
1458
|
freeing or modifying <em class="parameter"><code>string</code></em> then the behaviour is undefined.
|
1366
1459
|
</p>
|
1367
1460
|
<div class="variablelist"><table border="0">
|
@@ -1384,8 +1477,8 @@ freeing or modifying <em class="parameter"><code>string</code></em> then the beh
|
|
1384
1477
|
</tr>
|
1385
1478
|
<tr>
|
1386
1479
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
1387
|
-
<td>pointer to location where to store
|
1388
|
-
|
1480
|
+
<td> pointer to location where to store
|
1481
|
+
the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if you do not need it. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1389
1482
|
</td>
|
1390
1483
|
</tr>
|
1391
1484
|
<tr>
|
@@ -1399,7 +1492,7 @@ freeing or modifying <em class="parameter"><code>string</code></em> then the beh
|
|
1399
1492
|
<p class="since">Since 2.14</p>
|
1400
1493
|
</div>
|
1401
1494
|
<hr>
|
1402
|
-
<div class="refsect2"
|
1495
|
+
<div class="refsect2">
|
1403
1496
|
<a name="g-regex-match-all-full"></a><h3>g_regex_match_all_full ()</h3>
|
1404
1497
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_regex_match_all_full (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1405
1498
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
@@ -1409,47 +1502,47 @@ freeing or modifying <em class="parameter"><code>string</code></em> then the beh
|
|
1409
1502
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> **match_info</code></em>,
|
1410
1503
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1411
1504
|
<p>
|
1412
|
-
Using the standard algorithm for regular expression matching only
|
1413
|
-
the longest match in the string is retrieved, it is not possibile
|
1505
|
+
Using the standard algorithm for regular expression matching only
|
1506
|
+
the longest match in the string is retrieved, it is not possibile
|
1414
1507
|
to obtain all the available matches. For instance matching
|
1415
|
-
"<a> <b> <c>" against the pattern "<.*>"
|
1508
|
+
"<a> <b> <c>" against the pattern "<.*>"
|
1416
1509
|
you get "<a> <b> <c>".
|
1417
1510
|
</p>
|
1418
1511
|
<p>
|
1419
1512
|
This function uses a different algorithm (called DFA, i.e. deterministic
|
1420
1513
|
finite automaton), so it can retrieve all the possible matches, all
|
1421
1514
|
starting at the same point in the string. For instance matching
|
1422
|
-
"<a> <b> <c>" against the pattern "<.*>"
|
1515
|
+
"<a> <b> <c>" against the pattern "<.*>"
|
1423
1516
|
you would obtain three matches: "<a> <b> <c>",
|
1424
1517
|
"<a> <b>" and "<a>".
|
1425
1518
|
</p>
|
1426
1519
|
<p>
|
1427
1520
|
The number of matched strings is retrieved using
|
1428
|
-
<a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-get-match-count" title="g_match_info_get_match_count ()"><code class="function">g_match_info_get_match_count()</code></a>. To obtain the matched strings and
|
1429
|
-
their position you can use, respectively, <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-fetch" title="g_match_info_fetch ()"><code class="function">g_match_info_fetch()</code></a> and
|
1430
|
-
<a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-fetch-pos" title="g_match_info_fetch_pos ()"><code class="function">g_match_info_fetch_pos()</code></a>. Note that the strings are returned in
|
1431
|
-
reverse order of length; that is, the longest matching string is
|
1521
|
+
<a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-get-match-count" title="g_match_info_get_match_count ()"><code class="function">g_match_info_get_match_count()</code></a>. To obtain the matched strings and
|
1522
|
+
their position you can use, respectively, <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-fetch" title="g_match_info_fetch ()"><code class="function">g_match_info_fetch()</code></a> and
|
1523
|
+
<a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-fetch-pos" title="g_match_info_fetch_pos ()"><code class="function">g_match_info_fetch_pos()</code></a>. Note that the strings are returned in
|
1524
|
+
reverse order of length; that is, the longest matching string is
|
1432
1525
|
given first.
|
1433
1526
|
</p>
|
1434
1527
|
<p>
|
1435
|
-
Note that the DFA algorithm is slower than the standard one and it
|
1528
|
+
Note that the DFA algorithm is slower than the standard one and it
|
1436
1529
|
is not able to capture substrings, so backreferences do not work.
|
1437
1530
|
</p>
|
1438
1531
|
<p>
|
1439
|
-
Setting <em class="parameter"><code>start_position</code></em> differs from just passing over a shortened
|
1440
|
-
string and setting <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NOTBOL:CAPS"><span class="type">G_REGEX_MATCH_NOTBOL</span></a> in the case of a pattern
|
1532
|
+
Setting <em class="parameter"><code>start_position</code></em> differs from just passing over a shortened
|
1533
|
+
string and setting <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NOTBOL:CAPS"><span class="type">G_REGEX_MATCH_NOTBOL</span></a> in the case of a pattern
|
1441
1534
|
that begins with any kind of lookbehind assertion, such as "\b".
|
1442
1535
|
</p>
|
1443
1536
|
<p>
|
1444
|
-
A <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure, used to get information on the match, is
|
1445
|
-
stored in <em class="parameter"><code>match_info</code></em> if not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. Note that if <em class="parameter"><code>match_info</code></em> is
|
1446
|
-
not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then it is created even if the function returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>,
|
1447
|
-
i.e. you must free it regardless if regular expression actually
|
1537
|
+
A <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> structure, used to get information on the match, is
|
1538
|
+
stored in <em class="parameter"><code>match_info</code></em> if not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. Note that if <em class="parameter"><code>match_info</code></em> is
|
1539
|
+
not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then it is created even if the function returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>,
|
1540
|
+
i.e. you must free it regardless if regular expression actually
|
1448
1541
|
matched.
|
1449
1542
|
</p>
|
1450
1543
|
<p>
|
1451
|
-
<em class="parameter"><code>string</code></em> is not copied and is used in <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> internally. If
|
1452
|
-
you use any <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> method (except <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-free" title="g_match_info_free ()"><code class="function">g_match_info_free()</code></a>) after
|
1544
|
+
<em class="parameter"><code>string</code></em> is not copied and is used in <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> internally. If
|
1545
|
+
you use any <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> method (except <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-match-info-free" title="g_match_info_free ()"><code class="function">g_match_info_free()</code></a>) after
|
1453
1546
|
freeing or modifying <em class="parameter"><code>string</code></em> then the behaviour is undefined.
|
1454
1547
|
</p>
|
1455
1548
|
<div class="variablelist"><table border="0">
|
@@ -1462,7 +1555,7 @@ freeing or modifying <em class="parameter"><code>string</code></em> then the beh
|
|
1462
1555
|
</tr>
|
1463
1556
|
<tr>
|
1464
1557
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1465
|
-
<td>the string to scan for matches
|
1558
|
+
<td> the string to scan for matches. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=string_len]</span>
|
1466
1559
|
</td>
|
1467
1560
|
</tr>
|
1468
1561
|
<tr>
|
@@ -1482,8 +1575,8 @@ freeing or modifying <em class="parameter"><code>string</code></em> then the beh
|
|
1482
1575
|
</tr>
|
1483
1576
|
<tr>
|
1484
1577
|
<td><p><span class="term"><em class="parameter"><code>match_info</code></em> :</span></p></td>
|
1485
|
-
<td>pointer to location where to store
|
1486
|
-
|
1578
|
+
<td> pointer to location where to store
|
1579
|
+
the <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if you do not need it. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1487
1580
|
</td>
|
1488
1581
|
</tr>
|
1489
1582
|
<tr>
|
@@ -1502,23 +1595,23 @@ freeing or modifying <em class="parameter"><code>string</code></em> then the beh
|
|
1502
1595
|
<p class="since">Since 2.14</p>
|
1503
1596
|
</div>
|
1504
1597
|
<hr>
|
1505
|
-
<div class="refsect2"
|
1598
|
+
<div class="refsect2">
|
1506
1599
|
<a name="g-regex-split-simple"></a><h3>g_regex_split_simple ()</h3>
|
1507
1600
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_regex_split_simple (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *pattern</code></em>,
|
1508
1601
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
1509
1602
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexCompileFlags" title="enum GRegexCompileFlags"><span class="type">GRegexCompileFlags</span></a> compile_options</code></em>,
|
1510
1603
|
<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegexMatchFlags" title="enum GRegexMatchFlags"><span class="type">GRegexMatchFlags</span></a> match_options</code></em>);</pre>
|
1511
1604
|
<p>
|
1512
|
-
Breaks the string on the pattern, and returns an array of
|
1513
|
-
the tokens. If the pattern contains capturing parentheses,
|
1514
|
-
then the text for each of the substrings will also be returned.
|
1515
|
-
If the pattern does not match anywhere in the string, then the
|
1605
|
+
Breaks the string on the pattern, and returns an array of
|
1606
|
+
the tokens. If the pattern contains capturing parentheses,
|
1607
|
+
then the text for each of the substrings will also be returned.
|
1608
|
+
If the pattern does not match anywhere in the string, then the
|
1516
1609
|
whole string is returned as the first token.
|
1517
1610
|
</p>
|
1518
1611
|
<p>
|
1519
|
-
This function is equivalent to <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-split" title="g_regex_split ()"><code class="function">g_regex_split()</code></a> but it does
|
1520
|
-
not require to compile the pattern with <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-new" title="g_regex_new ()"><code class="function">g_regex_new()</code></a>, avoiding
|
1521
|
-
some lines of code when you need just to do a split without
|
1612
|
+
This function is equivalent to <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-split" title="g_regex_split ()"><code class="function">g_regex_split()</code></a> but it does
|
1613
|
+
not require to compile the pattern with <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-new" title="g_regex_new ()"><code class="function">g_regex_new()</code></a>, avoiding
|
1614
|
+
some lines of code when you need just to do a split without
|
1522
1615
|
extracting substrings, capture counts, and so on.
|
1523
1616
|
</p>
|
1524
1617
|
<p>
|
@@ -1527,18 +1620,18 @@ once, it's more efficient to compile the pattern once with
|
|
1527
1620
|
<a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-new" title="g_regex_new ()"><code class="function">g_regex_new()</code></a> and then use <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-split" title="g_regex_split ()"><code class="function">g_regex_split()</code></a>.
|
1528
1621
|
</p>
|
1529
1622
|
<p>
|
1530
|
-
As a special case, the result of splitting the empty string ""
|
1531
|
-
is an empty vector, not a vector containing a single string.
|
1532
|
-
The reason for this special case is that being able to represent
|
1533
|
-
a empty vector is typically more useful than consistent handling
|
1534
|
-
of empty elements. If you do need to represent empty elements,
|
1535
|
-
you'll need to check for the empty string before calling this
|
1623
|
+
As a special case, the result of splitting the empty string ""
|
1624
|
+
is an empty vector, not a vector containing a single string.
|
1625
|
+
The reason for this special case is that being able to represent
|
1626
|
+
a empty vector is typically more useful than consistent handling
|
1627
|
+
of empty elements. If you do need to represent empty elements,
|
1628
|
+
you'll need to check for the empty string before calling this
|
1536
1629
|
function.
|
1537
1630
|
</p>
|
1538
1631
|
<p>
|
1539
|
-
A pattern that can match empty strings splits <em class="parameter"><code>string</code></em> into
|
1540
|
-
separate characters wherever it matches the empty string between
|
1541
|
-
characters. For example splitting "ab c" using as a separator
|
1632
|
+
A pattern that can match empty strings splits <em class="parameter"><code>string</code></em> into
|
1633
|
+
separate characters wherever it matches the empty string between
|
1634
|
+
characters. For example splitting "ab c" using as a separator
|
1542
1635
|
"\s*", you will get "a", "b" and "c".
|
1543
1636
|
</p>
|
1544
1637
|
<div class="variablelist"><table border="0">
|
@@ -1575,7 +1668,7 @@ characters. For example splitting "ab c" using as a separator
|
|
1575
1668
|
<p class="since">Since 2.14</p>
|
1576
1669
|
</div>
|
1577
1670
|
<hr>
|
1578
|
-
<div class="refsect2"
|
1671
|
+
<div class="refsect2">
|
1579
1672
|
<a name="g-regex-split"></a><h3>g_regex_split ()</h3>
|
1580
1673
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_regex_split (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1581
1674
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
@@ -1630,7 +1723,7 @@ For example splitting "ab c" using as a separator "\s*", you will get
|
|
1630
1723
|
<p class="since">Since 2.14</p>
|
1631
1724
|
</div>
|
1632
1725
|
<hr>
|
1633
|
-
<div class="refsect2"
|
1726
|
+
<div class="refsect2">
|
1634
1727
|
<a name="g-regex-split-full"></a><h3>g_regex_split_full ()</h3>
|
1635
1728
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_regex_split_full (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1636
1729
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
@@ -1661,8 +1754,8 @@ For example splitting "ab c" using as a separator "\s*", you will get
|
|
1661
1754
|
"a", "b" and "c".
|
1662
1755
|
</p>
|
1663
1756
|
<p>
|
1664
|
-
Setting <em class="parameter"><code>start_position</code></em> differs from just passing over a shortened
|
1665
|
-
string and setting <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NOTBOL:CAPS"><span class="type">G_REGEX_MATCH_NOTBOL</span></a> in the case of a pattern
|
1757
|
+
Setting <em class="parameter"><code>start_position</code></em> differs from just passing over a shortened
|
1758
|
+
string and setting <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NOTBOL:CAPS"><span class="type">G_REGEX_MATCH_NOTBOL</span></a> in the case of a pattern
|
1666
1759
|
that begins with any kind of lookbehind assertion, such as "\b".
|
1667
1760
|
</p>
|
1668
1761
|
<div class="variablelist"><table border="0">
|
@@ -1675,7 +1768,7 @@ that begins with any kind of lookbehind assertion, such as "\b".
|
|
1675
1768
|
</tr>
|
1676
1769
|
<tr>
|
1677
1770
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1678
|
-
<td>the string to split with the pattern
|
1771
|
+
<td> the string to split with the pattern. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=string_len]</span>
|
1679
1772
|
</td>
|
1680
1773
|
</tr>
|
1681
1774
|
<tr>
|
@@ -1695,7 +1788,7 @@ that begins with any kind of lookbehind assertion, such as "\b".
|
|
1695
1788
|
</tr>
|
1696
1789
|
<tr>
|
1697
1790
|
<td><p><span class="term"><em class="parameter"><code>max_tokens</code></em> :</span></p></td>
|
1698
|
-
<td>the maximum number of tokens to split <em class="parameter"><code>string</code></em> into.
|
1791
|
+
<td>the maximum number of tokens to split <em class="parameter"><code>string</code></em> into.
|
1699
1792
|
If this is less than 1, the string is split completely
|
1700
1793
|
</td>
|
1701
1794
|
</tr>
|
@@ -1715,7 +1808,7 @@ that begins with any kind of lookbehind assertion, such as "\b".
|
|
1715
1808
|
<p class="since">Since 2.14</p>
|
1716
1809
|
</div>
|
1717
1810
|
<hr>
|
1718
|
-
<div class="refsect2"
|
1811
|
+
<div class="refsect2">
|
1719
1812
|
<a name="g-regex-replace"></a><h3>g_regex_replace ()</h3>
|
1720
1813
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_regex_replace (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1721
1814
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
@@ -1726,11 +1819,11 @@ that begins with any kind of lookbehind assertion, such as "\b".
|
|
1726
1819
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1727
1820
|
<p>
|
1728
1821
|
Replaces all occurrences of the pattern in <em class="parameter"><code>regex</code></em> with the
|
1729
|
-
replacement text. Backreferences of the form '\number' or
|
1730
|
-
'\g<number>' in the replacement text are interpolated by the
|
1731
|
-
number-th captured subexpression of the match, '\g<name>' refers
|
1732
|
-
to the captured subexpression with the given name. '\0' refers to the
|
1733
|
-
complete match, but '\0' followed by a number is the octal representation
|
1822
|
+
replacement text. Backreferences of the form '\number' or
|
1823
|
+
'\g<number>' in the replacement text are interpolated by the
|
1824
|
+
number-th captured subexpression of the match, '\g<name>' refers
|
1825
|
+
to the captured subexpression with the given name. '\0' refers to the
|
1826
|
+
complete match, but '\0' followed by a number is the octal representation
|
1734
1827
|
of a character. To include a literal '\' in the replacement, write '\\'.
|
1735
1828
|
There are also escapes that changes the case of the following text:
|
1736
1829
|
</p>
|
@@ -1772,8 +1865,8 @@ passed to <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-
|
|
1772
1865
|
you can use <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-replace-literal" title="g_regex_replace_literal ()"><code class="function">g_regex_replace_literal()</code></a>.
|
1773
1866
|
</p>
|
1774
1867
|
<p>
|
1775
|
-
Setting <em class="parameter"><code>start_position</code></em> differs from just passing over a shortened
|
1776
|
-
string and setting <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NOTBOL:CAPS"><span class="type">G_REGEX_MATCH_NOTBOL</span></a> in the case of a pattern that
|
1868
|
+
Setting <em class="parameter"><code>start_position</code></em> differs from just passing over a shortened
|
1869
|
+
string and setting <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NOTBOL:CAPS"><span class="type">G_REGEX_MATCH_NOTBOL</span></a> in the case of a pattern that
|
1777
1870
|
begins with any kind of lookbehind assertion, such as "\b".
|
1778
1871
|
</p>
|
1779
1872
|
<div class="variablelist"><table border="0">
|
@@ -1786,7 +1879,7 @@ begins with any kind of lookbehind assertion, such as "\b".
|
|
1786
1879
|
</tr>
|
1787
1880
|
<tr>
|
1788
1881
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1789
|
-
<td>the string to perform matches against
|
1882
|
+
<td> the string to perform matches against. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=string_len]</span>
|
1790
1883
|
</td>
|
1791
1884
|
</tr>
|
1792
1885
|
<tr>
|
@@ -1825,7 +1918,7 @@ begins with any kind of lookbehind assertion, such as "\b".
|
|
1825
1918
|
<p class="since">Since 2.14</p>
|
1826
1919
|
</div>
|
1827
1920
|
<hr>
|
1828
|
-
<div class="refsect2"
|
1921
|
+
<div class="refsect2">
|
1829
1922
|
<a name="g-regex-replace-literal"></a><h3>g_regex_replace_literal ()</h3>
|
1830
1923
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_regex_replace_literal (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1831
1924
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
@@ -1840,9 +1933,9 @@ replacement text. <em class="parameter"><code>replacement</code></em> is replace
|
|
1840
1933
|
include backreferences use <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-replace" title="g_regex_replace ()"><code class="function">g_regex_replace()</code></a>.
|
1841
1934
|
</p>
|
1842
1935
|
<p>
|
1843
|
-
Setting <em class="parameter"><code>start_position</code></em> differs from just passing over a
|
1844
|
-
shortened string and setting <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NOTBOL:CAPS"><span class="type">G_REGEX_MATCH_NOTBOL</span></a> in the
|
1845
|
-
case of a pattern that begins with any kind of lookbehind
|
1936
|
+
Setting <em class="parameter"><code>start_position</code></em> differs from just passing over a
|
1937
|
+
shortened string and setting <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NOTBOL:CAPS"><span class="type">G_REGEX_MATCH_NOTBOL</span></a> in the
|
1938
|
+
case of a pattern that begins with any kind of lookbehind
|
1846
1939
|
assertion, such as "\b".
|
1847
1940
|
</p>
|
1848
1941
|
<div class="variablelist"><table border="0">
|
@@ -1855,7 +1948,7 @@ assertion, such as "\b".
|
|
1855
1948
|
</tr>
|
1856
1949
|
<tr>
|
1857
1950
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1858
|
-
<td>the string to perform matches against
|
1951
|
+
<td> the string to perform matches against. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=string_len]</span>
|
1859
1952
|
</td>
|
1860
1953
|
</tr>
|
1861
1954
|
<tr>
|
@@ -1894,7 +1987,7 @@ assertion, such as "\b".
|
|
1894
1987
|
<p class="since">Since 2.14</p>
|
1895
1988
|
</div>
|
1896
1989
|
<hr>
|
1897
|
-
<div class="refsect2"
|
1990
|
+
<div class="refsect2">
|
1898
1991
|
<a name="g-regex-replace-eval"></a><h3>g_regex_replace_eval ()</h3>
|
1899
1992
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_regex_replace_eval (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="type">GRegex</span></a> *regex</code></em>,
|
1900
1993
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
@@ -1905,12 +1998,12 @@ assertion, such as "\b".
|
|
1905
1998
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
1906
1999
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1907
2000
|
<p>
|
1908
|
-
Replaces occurrences of the pattern in regex with the output of
|
2001
|
+
Replaces occurrences of the pattern in regex with the output of
|
1909
2002
|
<em class="parameter"><code>eval</code></em> for that occurrence.
|
1910
2003
|
</p>
|
1911
2004
|
<p>
|
1912
|
-
Setting <em class="parameter"><code>start_position</code></em> differs from just passing over a shortened
|
1913
|
-
string and setting <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NOTBOL:CAPS"><span class="type">G_REGEX_MATCH_NOTBOL</span></a> in the case of a pattern
|
2005
|
+
Setting <em class="parameter"><code>start_position</code></em> differs from just passing over a shortened
|
2006
|
+
string and setting <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-NOTBOL:CAPS"><span class="type">G_REGEX_MATCH_NOTBOL</span></a> in the case of a pattern
|
1914
2007
|
that begins with any kind of lookbehind assertion, such as "\b".
|
1915
2008
|
</p>
|
1916
2009
|
<p>
|
@@ -1955,8 +2048,8 @@ strings at once:
|
|
1955
2048
|
32
|
1956
2049
|
33
|
1957
2050
|
34</pre></td>
|
1958
|
-
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> <a href="glib-Basic-Types.html#gboolean">gboolean</a
|
1959
|
-
<span class="function">eval_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">GMatchInfo</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">info</span><span class="symbol">,</span
|
2051
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> <a href="glib-Basic-Types.html#gboolean">gboolean</a></span>
|
2052
|
+
<span class="function">eval_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">GMatchInfo</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">info</span><span class="symbol">,</span>
|
1960
2053
|
<span class="normal"> </span><span class="usertype">GString</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">res</span><span class="symbol">,</span>
|
1961
2054
|
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
1962
2055
|
<span class="cbracket">{</span>
|
@@ -2006,7 +2099,7 @@ strings at once:
|
|
2006
2099
|
</tr>
|
2007
2100
|
<tr>
|
2008
2101
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
2009
|
-
<td>string to perform matches against
|
2102
|
+
<td> string to perform matches against. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=string_len]</span>
|
2010
2103
|
</td>
|
2011
2104
|
</tr>
|
2012
2105
|
<tr>
|
@@ -2050,21 +2143,21 @@ strings at once:
|
|
2050
2143
|
<p class="since">Since 2.14</p>
|
2051
2144
|
</div>
|
2052
2145
|
<hr>
|
2053
|
-
<div class="refsect2"
|
2146
|
+
<div class="refsect2">
|
2054
2147
|
<a name="g-regex-check-replacement"></a><h3>g_regex_check_replacement ()</h3>
|
2055
2148
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_regex_check_replacement (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *replacement</code></em>,
|
2056
2149
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> *has_references</code></em>,
|
2057
2150
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2058
2151
|
<p>
|
2059
|
-
Checks whether <em class="parameter"><code>replacement</code></em> is a valid replacement string
|
2060
|
-
(see <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-replace" title="g_regex_replace ()"><code class="function">g_regex_replace()</code></a>), i.e. that all escape sequences in
|
2152
|
+
Checks whether <em class="parameter"><code>replacement</code></em> is a valid replacement string
|
2153
|
+
(see <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-replace" title="g_regex_replace ()"><code class="function">g_regex_replace()</code></a>), i.e. that all escape sequences in
|
2061
2154
|
it are valid.
|
2062
2155
|
</p>
|
2063
2156
|
<p>
|
2064
|
-
If <em class="parameter"><code>has_references</code></em> is not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then <em class="parameter"><code>replacement</code></em> is checked
|
2157
|
+
If <em class="parameter"><code>has_references</code></em> is not <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then <em class="parameter"><code>replacement</code></em> is checked
|
2065
2158
|
for pattern references. For instance, replacement text 'foo\n'
|
2066
2159
|
does not contain references and may be evaluated without information
|
2067
|
-
about actual match, but '\0\1' (whole match followed by first
|
2160
|
+
about actual match, but '\0\1' (whole match followed by first
|
2068
2161
|
subpattern) requires valid <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> object.
|
2069
2162
|
</p>
|
2070
2163
|
<div class="variablelist"><table border="0">
|
@@ -2077,8 +2170,8 @@ subpattern) requires valid <a class="link" href="glib-Perl-compatible-regular-ex
|
|
2077
2170
|
</tr>
|
2078
2171
|
<tr>
|
2079
2172
|
<td><p><span class="term"><em class="parameter"><code>has_references</code></em> :</span></p></td>
|
2080
|
-
<td>location to store information about
|
2081
|
-
references in <em class="parameter"><code>replacement</code></em> or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
2173
|
+
<td> location to store information about
|
2174
|
+
references in <em class="parameter"><code>replacement</code></em> or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2082
2175
|
</td>
|
2083
2176
|
</tr>
|
2084
2177
|
<tr>
|
@@ -2097,7 +2190,7 @@ subpattern) requires valid <a class="link" href="glib-Perl-compatible-regular-ex
|
|
2097
2190
|
<p class="since">Since 2.14</p>
|
2098
2191
|
</div>
|
2099
2192
|
<hr>
|
2100
|
-
<div class="refsect2"
|
2193
|
+
<div class="refsect2">
|
2101
2194
|
<a name="GMatchInfo"></a><h3>GMatchInfo</h3>
|
2102
2195
|
<pre class="programlisting">typedef struct _GMatchInfo GMatchInfo;</pre>
|
2103
2196
|
<p>
|
@@ -2108,7 +2201,7 @@ This structure is opaque and its fields cannot be accessed directly.
|
|
2108
2201
|
<p class="since">Since 2.14</p>
|
2109
2202
|
</div>
|
2110
2203
|
<hr>
|
2111
|
-
<div class="refsect2"
|
2204
|
+
<div class="refsect2">
|
2112
2205
|
<a name="g-match-info-get-regex"></a><h3>g_match_info_get_regex ()</h3>
|
2113
2206
|
<pre class="programlisting"><a class="link" href="glib-Perl-compatible-regular-expressions.html#GRegex" title="GRegex"><span class="returnvalue">GRegex</span></a> * g_match_info_get_regex (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);</pre>
|
2114
2207
|
<p>
|
@@ -2135,7 +2228,7 @@ after you free <em class="parameter"><code>match_info</code></em> object.
|
|
2135
2228
|
<p class="since">Since 2.14</p>
|
2136
2229
|
</div>
|
2137
2230
|
<hr>
|
2138
|
-
<div class="refsect2"
|
2231
|
+
<div class="refsect2">
|
2139
2232
|
<a name="g-match-info-get-string"></a><h3>g_match_info_get_string ()</h3>
|
2140
2233
|
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_match_info_get_string (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);</pre>
|
2141
2234
|
<p>
|
@@ -2162,7 +2255,7 @@ you may not free it before calling this function.
|
|
2162
2255
|
<p class="since">Since 2.14</p>
|
2163
2256
|
</div>
|
2164
2257
|
<hr>
|
2165
|
-
<div class="refsect2"
|
2258
|
+
<div class="refsect2">
|
2166
2259
|
<a name="g-match-info-free"></a><h3>g_match_info_free ()</h3>
|
2167
2260
|
<pre class="programlisting"><span class="returnvalue">void</span> g_match_info_free (<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);</pre>
|
2168
2261
|
<p>
|
@@ -2179,7 +2272,7 @@ Frees all the memory associated with the <a class="link" href="glib-Perl-compati
|
|
2179
2272
|
<p class="since">Since 2.14</p>
|
2180
2273
|
</div>
|
2181
2274
|
<hr>
|
2182
|
-
<div class="refsect2"
|
2275
|
+
<div class="refsect2">
|
2183
2276
|
<a name="g-match-info-matches"></a><h3>g_match_info_matches ()</h3>
|
2184
2277
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_match_info_matches (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);</pre>
|
2185
2278
|
<p>
|
@@ -2195,7 +2288,7 @@ Returns whether the previous match operation succeeded.
|
|
2195
2288
|
</tr>
|
2196
2289
|
<tr>
|
2197
2290
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2198
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the previous match operation succeeded,
|
2291
|
+
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the previous match operation succeeded,
|
2199
2292
|
<a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise
|
2200
2293
|
|
2201
2294
|
</td>
|
@@ -2205,7 +2298,7 @@ Returns whether the previous match operation succeeded.
|
|
2205
2298
|
<p class="since">Since 2.14</p>
|
2206
2299
|
</div>
|
2207
2300
|
<hr>
|
2208
|
-
<div class="refsect2"
|
2301
|
+
<div class="refsect2">
|
2209
2302
|
<a name="g-match-info-next"></a><h3>g_match_info_next ()</h3>
|
2210
2303
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_match_info_next (<em class="parameter"><code><a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
2211
2304
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
@@ -2242,16 +2335,16 @@ cannot free it before calling this function.
|
|
2242
2335
|
<p class="since">Since 2.14</p>
|
2243
2336
|
</div>
|
2244
2337
|
<hr>
|
2245
|
-
<div class="refsect2"
|
2338
|
+
<div class="refsect2">
|
2246
2339
|
<a name="g-match-info-get-match-count"></a><h3>g_match_info_get_match_count ()</h3>
|
2247
2340
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_match_info_get_match_count (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);</pre>
|
2248
2341
|
<p>
|
2249
|
-
Retrieves the number of matched substrings (including substring 0,
|
2250
|
-
that is the whole matched text), so 1 is returned if the pattern
|
2342
|
+
Retrieves the number of matched substrings (including substring 0,
|
2343
|
+
that is the whole matched text), so 1 is returned if the pattern
|
2251
2344
|
has no substrings in it and 0 is returned if the match failed.
|
2252
2345
|
</p>
|
2253
2346
|
<p>
|
2254
|
-
If the last match was obtained using the DFA algorithm, that is
|
2347
|
+
If the last match was obtained using the DFA algorithm, that is
|
2255
2348
|
using <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-match-all" title="g_regex_match_all ()"><code class="function">g_regex_match_all()</code></a> or <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-match-all-full" title="g_regex_match_all_full ()"><code class="function">g_regex_match_all_full()</code></a>, the retrieved
|
2256
2349
|
count is not that of the number of capturing parentheses but that of
|
2257
2350
|
the number of matched substrings.
|
@@ -2275,7 +2368,7 @@ the number of matched substrings.
|
|
2275
2368
|
<p class="since">Since 2.14</p>
|
2276
2369
|
</div>
|
2277
2370
|
<hr>
|
2278
|
-
<div class="refsect2"
|
2371
|
+
<div class="refsect2">
|
2279
2372
|
<a name="g-match-info-is-partial-match"></a><h3>g_match_info_is_partial_match ()</h3>
|
2280
2373
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_match_info_is_partial_match (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);</pre>
|
2281
2374
|
<p>
|
@@ -2305,15 +2398,15 @@ return <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"
|
|
2305
2398
|
When using partial matching you cannot use g_match_info_fetch*().
|
2306
2399
|
</p>
|
2307
2400
|
<p>
|
2308
|
-
Because of the way certain internal optimizations are implemented
|
2309
|
-
the partial matching algorithm cannot be used with all patterns.
|
2310
|
-
So repeated single characters such as "a{2,4}" and repeated single
|
2311
|
-
meta-sequences such as "\d+" are not permitted if the maximum number
|
2312
|
-
of occurrences is greater than one. Optional items such as "\d?"
|
2313
|
-
(where the maximum is one) are permitted. Quantifiers with any values
|
2314
|
-
are permitted after parentheses, so the invalid examples above can be
|
2315
|
-
coded thus "(a){2,4}" and "(\d)+". If <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-PARTIAL:CAPS"><span class="type">G_REGEX_MATCH_PARTIAL</span></a> is set
|
2316
|
-
for a pattern that does not conform to the restrictions, matching
|
2401
|
+
Because of the way certain internal optimizations are implemented
|
2402
|
+
the partial matching algorithm cannot be used with all patterns.
|
2403
|
+
So repeated single characters such as "a{2,4}" and repeated single
|
2404
|
+
meta-sequences such as "\d+" are not permitted if the maximum number
|
2405
|
+
of occurrences is greater than one. Optional items such as "\d?"
|
2406
|
+
(where the maximum is one) are permitted. Quantifiers with any values
|
2407
|
+
are permitted after parentheses, so the invalid examples above can be
|
2408
|
+
coded thus "(a){2,4}" and "(\d)+". If <a class="link" href="glib-Perl-compatible-regular-expressions.html#G-REGEX-MATCH-PARTIAL:CAPS"><span class="type">G_REGEX_MATCH_PARTIAL</span></a> is set
|
2409
|
+
for a pattern that does not conform to the restrictions, matching
|
2317
2410
|
functions return an error.
|
2318
2411
|
</p>
|
2319
2412
|
<div class="variablelist"><table border="0">
|
@@ -2335,7 +2428,7 @@ functions return an error.
|
|
2335
2428
|
<p class="since">Since 2.14</p>
|
2336
2429
|
</div>
|
2337
2430
|
<hr>
|
2338
|
-
<div class="refsect2"
|
2431
|
+
<div class="refsect2">
|
2339
2432
|
<a name="g-match-info-expand-references"></a><h3>g_match_info_expand_references ()</h3>
|
2340
2433
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_match_info_expand_references (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
2341
2434
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string_to_expand</code></em>,
|
@@ -2382,8 +2475,7 @@ contains references.
|
|
2382
2475
|
</tr>
|
2383
2476
|
<tr>
|
2384
2477
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2385
|
-
<td> the expanded string, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if an error occurred
|
2386
|
-
|
2478
|
+
<td> the expanded string, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if an error occurred. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2387
2479
|
</td>
|
2388
2480
|
</tr>
|
2389
2481
|
</tbody>
|
@@ -2391,25 +2483,25 @@ contains references.
|
|
2391
2483
|
<p class="since">Since 2.14</p>
|
2392
2484
|
</div>
|
2393
2485
|
<hr>
|
2394
|
-
<div class="refsect2"
|
2486
|
+
<div class="refsect2">
|
2395
2487
|
<a name="g-match-info-fetch"></a><h3>g_match_info_fetch ()</h3>
|
2396
2488
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_match_info_fetch (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
2397
2489
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> match_num</code></em>);</pre>
|
2398
2490
|
<p>
|
2399
|
-
Retrieves the text matching the <em class="parameter"><code>match_num</code></em>'th capturing
|
2400
|
-
parentheses. 0 is the full text of the match, 1 is the first paren
|
2491
|
+
Retrieves the text matching the <em class="parameter"><code>match_num</code></em>'th capturing
|
2492
|
+
parentheses. 0 is the full text of the match, 1 is the first paren
|
2401
2493
|
set, 2 the second, and so on.
|
2402
2494
|
</p>
|
2403
2495
|
<p>
|
2404
|
-
If <em class="parameter"><code>match_num</code></em> is a valid sub pattern but it didn't match anything
|
2405
|
-
(e.g. sub pattern 1, matching "b" against "(a)?b") then an empty
|
2496
|
+
If <em class="parameter"><code>match_num</code></em> is a valid sub pattern but it didn't match anything
|
2497
|
+
(e.g. sub pattern 1, matching "b" against "(a)?b") then an empty
|
2406
2498
|
string is returned.
|
2407
2499
|
</p>
|
2408
2500
|
<p>
|
2409
2501
|
If the match was obtained using the DFA algorithm, that is using
|
2410
2502
|
<a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-match-all" title="g_regex_match_all ()"><code class="function">g_regex_match_all()</code></a> or <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-match-all-full" title="g_regex_match_all_full ()"><code class="function">g_regex_match_all_full()</code></a>, the retrieved
|
2411
2503
|
string is not that of a set of parentheses but that of a matched
|
2412
|
-
substring. Substrings are matched in reverse order of length, so
|
2504
|
+
substring. Substrings are matched in reverse order of length, so
|
2413
2505
|
0 is the longest match.
|
2414
2506
|
</p>
|
2415
2507
|
<p>
|
@@ -2432,9 +2524,8 @@ so you cannot call this function after freeing the string.
|
|
2432
2524
|
</tr>
|
2433
2525
|
<tr>
|
2434
2526
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2435
|
-
<td> The matched substring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if an error
|
2436
|
-
|
2437
|
-
|
2527
|
+
<td> The matched substring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if an error
|
2528
|
+
occurred. You have to free the string yourself. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2438
2529
|
</td>
|
2439
2530
|
</tr>
|
2440
2531
|
</tbody>
|
@@ -2442,27 +2533,27 @@ so you cannot call this function after freeing the string.
|
|
2442
2533
|
<p class="since">Since 2.14</p>
|
2443
2534
|
</div>
|
2444
2535
|
<hr>
|
2445
|
-
<div class="refsect2"
|
2536
|
+
<div class="refsect2">
|
2446
2537
|
<a name="g-match-info-fetch-pos"></a><h3>g_match_info_fetch_pos ()</h3>
|
2447
2538
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_match_info_fetch_pos (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
2448
2539
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> match_num</code></em>,
|
2449
2540
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> *start_pos</code></em>,
|
2450
2541
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> *end_pos</code></em>);</pre>
|
2451
2542
|
<p>
|
2452
|
-
Retrieves the position in bytes of the <em class="parameter"><code>match_num</code></em>'th capturing
|
2453
|
-
parentheses. 0 is the full text of the match, 1 is the first
|
2543
|
+
Retrieves the position in bytes of the <em class="parameter"><code>match_num</code></em>'th capturing
|
2544
|
+
parentheses. 0 is the full text of the match, 1 is the first
|
2454
2545
|
paren set, 2 the second, and so on.
|
2455
2546
|
</p>
|
2456
2547
|
<p>
|
2457
|
-
If <em class="parameter"><code>match_num</code></em> is a valid sub pattern but it didn't match anything
|
2458
|
-
(e.g. sub pattern 1, matching "b" against "(a)?b") then <em class="parameter"><code>start_pos</code></em>
|
2548
|
+
If <em class="parameter"><code>match_num</code></em> is a valid sub pattern but it didn't match anything
|
2549
|
+
(e.g. sub pattern 1, matching "b" against "(a)?b") then <em class="parameter"><code>start_pos</code></em>
|
2459
2550
|
and <em class="parameter"><code>end_pos</code></em> are set to -1 and <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> is returned.
|
2460
2551
|
</p>
|
2461
2552
|
<p>
|
2462
2553
|
If the match was obtained using the DFA algorithm, that is using
|
2463
2554
|
<a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-match-all" title="g_regex_match_all ()"><code class="function">g_regex_match_all()</code></a> or <a class="link" href="glib-Perl-compatible-regular-expressions.html#g-regex-match-all-full" title="g_regex_match_all_full ()"><code class="function">g_regex_match_all_full()</code></a>, the retrieved
|
2464
2555
|
position is not that of a set of parentheses but that of a matched
|
2465
|
-
substring. Substrings are matched in reverse order of length, so
|
2556
|
+
substring. Substrings are matched in reverse order of length, so
|
2466
2557
|
0 is the longest match.
|
2467
2558
|
</p>
|
2468
2559
|
<div class="variablelist"><table border="0">
|
@@ -2481,18 +2572,20 @@ substring. Substrings are matched in reverse order of length, so
|
|
2481
2572
|
</tr>
|
2482
2573
|
<tr>
|
2483
2574
|
<td><p><span class="term"><em class="parameter"><code>start_pos</code></em> :</span></p></td>
|
2484
|
-
<td>pointer to location where to store
|
2575
|
+
<td> pointer to location where to store
|
2576
|
+
the start position, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2485
2577
|
</td>
|
2486
2578
|
</tr>
|
2487
2579
|
<tr>
|
2488
2580
|
<td><p><span class="term"><em class="parameter"><code>end_pos</code></em> :</span></p></td>
|
2489
|
-
<td>pointer to location where to store
|
2581
|
+
<td> pointer to location where to store
|
2582
|
+
the end position, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2490
2583
|
</td>
|
2491
2584
|
</tr>
|
2492
2585
|
<tr>
|
2493
2586
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2494
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the position was fetched, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise. If
|
2495
|
-
the position cannot be fetched, <em class="parameter"><code>start_pos</code></em> and <em class="parameter"><code>end_pos</code></em> are left
|
2587
|
+
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the position was fetched, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise. If
|
2588
|
+
the position cannot be fetched, <em class="parameter"><code>start_pos</code></em> and <em class="parameter"><code>end_pos</code></em> are left
|
2496
2589
|
unchanged
|
2497
2590
|
|
2498
2591
|
</td>
|
@@ -2502,7 +2595,7 @@ substring. Substrings are matched in reverse order of length, so
|
|
2502
2595
|
<p class="since">Since 2.14</p>
|
2503
2596
|
</div>
|
2504
2597
|
<hr>
|
2505
|
-
<div class="refsect2"
|
2598
|
+
<div class="refsect2">
|
2506
2599
|
<a name="g-match-info-fetch-named"></a><h3>g_match_info_fetch_named ()</h3>
|
2507
2600
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_match_info_fetch_named (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
2508
2601
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
|
@@ -2510,8 +2603,8 @@ substring. Substrings are matched in reverse order of length, so
|
|
2510
2603
|
Retrieves the text matching the capturing parentheses named <em class="parameter"><code>name</code></em>.
|
2511
2604
|
</p>
|
2512
2605
|
<p>
|
2513
|
-
If <em class="parameter"><code>name</code></em> is a valid sub pattern name but it didn't match anything
|
2514
|
-
(e.g. sub pattern "X", matching "b" against "(?P<X>a)?b")
|
2606
|
+
If <em class="parameter"><code>name</code></em> is a valid sub pattern name but it didn't match anything
|
2607
|
+
(e.g. sub pattern "X", matching "b" against "(?P<X>a)?b")
|
2515
2608
|
then an empty string is returned.
|
2516
2609
|
</p>
|
2517
2610
|
<p>
|
@@ -2534,9 +2627,8 @@ so you cannot call this function after freeing the string.
|
|
2534
2627
|
</tr>
|
2535
2628
|
<tr>
|
2536
2629
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2537
|
-
<td> The matched substring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if an error
|
2538
|
-
|
2539
|
-
|
2630
|
+
<td> The matched substring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if an error
|
2631
|
+
occurred. You have to free the string yourself. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2540
2632
|
</td>
|
2541
2633
|
</tr>
|
2542
2634
|
</tbody>
|
@@ -2544,7 +2636,7 @@ so you cannot call this function after freeing the string.
|
|
2544
2636
|
<p class="since">Since 2.14</p>
|
2545
2637
|
</div>
|
2546
2638
|
<hr>
|
2547
|
-
<div class="refsect2"
|
2639
|
+
<div class="refsect2">
|
2548
2640
|
<a name="g-match-info-fetch-named-pos"></a><h3>g_match_info_fetch_named_pos ()</h3>
|
2549
2641
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_match_info_fetch_named_pos (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>,
|
2550
2642
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>,
|
@@ -2554,8 +2646,8 @@ so you cannot call this function after freeing the string.
|
|
2554
2646
|
Retrieves the position in bytes of the capturing parentheses named <em class="parameter"><code>name</code></em>.
|
2555
2647
|
</p>
|
2556
2648
|
<p>
|
2557
|
-
If <em class="parameter"><code>name</code></em> is a valid sub pattern name but it didn't match anything
|
2558
|
-
(e.g. sub pattern "X", matching "b" against "(?P<X>a)?b")
|
2649
|
+
If <em class="parameter"><code>name</code></em> is a valid sub pattern name but it didn't match anything
|
2650
|
+
(e.g. sub pattern "X", matching "b" against "(?P<X>a)?b")
|
2559
2651
|
then <em class="parameter"><code>start_pos</code></em> and <em class="parameter"><code>end_pos</code></em> are set to -1 and <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> is returned.
|
2560
2652
|
</p>
|
2561
2653
|
<div class="variablelist"><table border="0">
|
@@ -2574,19 +2666,21 @@ then <em class="parameter"><code>start_pos</code></em> and <em class="parameter"
|
|
2574
2666
|
</tr>
|
2575
2667
|
<tr>
|
2576
2668
|
<td><p><span class="term"><em class="parameter"><code>start_pos</code></em> :</span></p></td>
|
2577
|
-
<td>pointer to location where to store
|
2669
|
+
<td> pointer to location where to store
|
2670
|
+
the start position, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2578
2671
|
</td>
|
2579
2672
|
</tr>
|
2580
2673
|
<tr>
|
2581
2674
|
<td><p><span class="term"><em class="parameter"><code>end_pos</code></em> :</span></p></td>
|
2582
|
-
<td>pointer to location where to store
|
2675
|
+
<td> pointer to location where to store
|
2676
|
+
the end position, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2583
2677
|
</td>
|
2584
2678
|
</tr>
|
2585
2679
|
<tr>
|
2586
2680
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2587
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the position was fetched, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise.
|
2588
|
-
|
2589
|
-
|
2681
|
+
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the position was fetched, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise.
|
2682
|
+
If the position cannot be fetched, <em class="parameter"><code>start_pos</code></em> and <em class="parameter"><code>end_pos</code></em>
|
2683
|
+
are left unchanged.
|
2590
2684
|
|
2591
2685
|
</td>
|
2592
2686
|
</tr>
|
@@ -2595,7 +2689,7 @@ then <em class="parameter"><code>start_pos</code></em> and <em class="parameter"
|
|
2595
2689
|
<p class="since">Since 2.14</p>
|
2596
2690
|
</div>
|
2597
2691
|
<hr>
|
2598
|
-
<div class="refsect2"
|
2692
|
+
<div class="refsect2">
|
2599
2693
|
<a name="g-match-info-fetch-all"></a><h3>g_match_info_fetch_all ()</h3>
|
2600
2694
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_match_info_fetch_all (<em class="parameter"><code>const <a class="link" href="glib-Perl-compatible-regular-expressions.html#GMatchInfo" title="GMatchInfo"><span class="type">GMatchInfo</span></a> *match_info</code></em>);</pre>
|
2601
2695
|
<p>
|
@@ -2629,10 +2723,9 @@ so you cannot call this function after freeing the string.
|
|
2629
2723
|
</tr>
|
2630
2724
|
<tr>
|
2631
2725
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2632
|
-
<td> a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of gchar * pointers.
|
2633
|
-
|
2634
|
-
|
2635
|
-
|
2726
|
+
<td> a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of gchar * pointers.
|
2727
|
+
It must be freed using <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a>. If the previous match failed
|
2728
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2636
2729
|
</td>
|
2637
2730
|
</tr>
|
2638
2731
|
</tbody>
|
@@ -2640,9 +2733,13 @@ so you cannot call this function after freeing the string.
|
|
2640
2733
|
<p class="since">Since 2.14</p>
|
2641
2734
|
</div>
|
2642
2735
|
</div>
|
2736
|
+
<div class="refsect1">
|
2737
|
+
<a name="glib-Perl-compatible-regular-expressions.see-also"></a><h2>See Also</h2>
|
2738
|
+
<a class="xref" href="glib-regex-syntax.html" title="Regular expression syntax"><span class="refentrytitle">Regular expression syntax</span></a>
|
2739
|
+
</div>
|
2643
2740
|
</div>
|
2644
2741
|
<div class="footer">
|
2645
2742
|
<hr>
|
2646
|
-
Generated by GTK-Doc V1.
|
2743
|
+
Generated by GTK-Doc V1.15.1</div>
|
2647
2744
|
</body>
|
2648
2745
|
</html>
|