GNOME Bugzilla – Bug 674266
ges-launch uses POSIX regex
Last modified: 2012-05-01 18:24:23 UTC
POSIX regex is not readily available on non-POSIX platforms (such as W32), and gst/ges already depends on GLib, so there is no reason to not to use GLib regex.
Created attachment 212218 [details] [review] Use glib regex
Created attachment 212249 [details] [review] Use glib regex Fixed the logic around g_regex_match() return value (unlike POSIX regexec(), g_regex_match() returns TRUE on success, not 0).
Thanks! Care to also make a patch for: tests/examples/ges-ui.c:#include <regex.h> tests/examples/thumbnails.c:#include <regex.h> ? :) commit 59e156ea3a559e73e766046726685821e6dc5065 Author: Руслан Ижбулатов <lrn1986@gmail.com> Date: Tue Apr 17 19:18:44 2012 +0400 ges-launch: use GRegex instead of POSIX regex http://bugzilla-attachments.gnome.org/attachment.cgi?id=212249