I've been working on the C language recently, and the C tutorial on regular expressions has seen the Man Handbook Feel good.
Regex (3) Linux Programmer ' s Manual REGEX (3)
NAME
Regcomp, Regexec, Regerror, regfree-posix regex functions
Synopsis
#include <sys/types.h>
#include <regex.h>
int Regcomp (regex_t *preg, const char *regex, int cflags);
int regexec (const regex_t *preg, const char *string, size_t Nmatch,
regmatch_t pmatch[], int eflags);
size_t regerror (int errcode, const regex_t *preg, Char *errbuf,
size_t errbuf_size);
void RegFree (regex_t *preg);
If it's not enough
Other than that
https://www.jianshu.com/p/9cda6b29a12b
Http://blog.chinaunix.net/uid-20448327-id-3189854.html
can also see, I just do not understand why "\\b" is not going to die, it is estimated that there is a bug, but I use [0-9] instead of, harmless
Regex C language