docs
[mirrors/Programs.git] / c / regex.c
CommitLineData
21c4e167
H
1#include <stdio.h>
2#include <glib.h>
3
4//gcc `pkg-config --cflags --libs glib-2.0` regex.c -o regex
5
6int main() {
7 char string[] = "hello lol OMG NAZDAR ROFL! cus.";
8 if(g_regex_match_simple("lolo", string, 0, 0)) puts("true");
9 else puts("false");
10}
This page took 0.547534 seconds and 4 git commands to generate.