Nekobee
[mirrors/Programs.git] / c / regex.c
1 #include <stdio.h>
2 #include <glib.h>
3
4 //gcc `pkg-config --cflags --libs glib-2.0` regex.c -o regex
5
6 int 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.339375 seconds and 4 git commands to generate.