irssi/src/core/iregex.h
kofany 09c23c2d0e Rename irssip to irssi and add configure script
Changed default nick, real_name, user_name, and autolog_path from 'irssip' to 'irssi' in config files. Updated Meson build system to use a configurable package name via new 'pkgname' option. Added an intelligent, interactive 'configure.sh' script for setup and build. Removed obsolete documentation and Perl script files related to 'irssip'.
2025-08-26 02:20:38 +02:00

37 lines
840 B
C

#ifndef IRSSI_CORE_IREGEX_H
#define IRSSI_CORE_IREGEX_H
#include <irssi/src/common.h>
#include <glib.h>
typedef GRegex Regex;
typedef struct _MatchInfo MatchInfo;
gboolean
i_match_info_matches (const MatchInfo *match_info);
void
i_match_info_free (MatchInfo *match_info);
Regex *
i_regex_new (const gchar *pattern,
GRegexCompileFlags compile_options,
GRegexMatchFlags match_options,
GError **error);
void
i_regex_unref (Regex *regex);
gboolean
i_regex_match (const Regex *regex,
const gchar *string,
GRegexMatchFlags match_options,
MatchInfo **match_info);
gboolean
i_match_info_fetch_pos (const MatchInfo *match_info,
gint match_num,
gint *start_pos,
gint *end_pos);
#endif